Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Small simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
serban300 committed Apr 17, 2023
1 parent 476d3dd commit 823467e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xcm/xcm-builder/src/universal_exports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit 823467e

Please sign in to comment.