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

Commit 97e84dd

Browse files
authored
Small simplification (#7089)
1 parent 476d3dd commit 97e84dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xcm/xcm-builder/src/universal_exports.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMulti
160160
// export for free. Common-good chains will typically be afforded this.
161161
let message =
162162
Xcm(vec![ExportMessage { network: remote_network, destination: remote_location, xcm }]);
163-
let (v, cost) = validate_send::<Router>(bridge, message)?;
164-
Ok((v, cost))
163+
validate_send::<Router>(bridge, message)
165164
}
166165

167166
fn deliver(validation: Router::Ticket) -> Result<XcmHash, SendError> {

0 commit comments

Comments
 (0)