Small simplification (#7089)

This commit is contained in:
Serban Iorga
2023-04-17 18:41:32 +03:00
committed by GitHub
parent 23763d0ec9
commit d9e49378d5
@@ -160,8 +160,7 @@ impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMulti
// export for free. Common-good chains will typically be afforded this.
let message =
Xcm(vec![ExportMessage { network: remote_network, destination: remote_location, xcm }]);
let (v, cost) = validate_send::<Router>(bridge, message)?;
Ok((v, cost))
validate_send::<Router>(bridge, message)
}
fn deliver(validation: Router::Ticket) -> Result<XcmHash, SendError> {