mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 16:51:02 +00:00
Small simplification (#7089)
This commit is contained in:
@@ -160,8 +160,7 @@ impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMulti
|
|||||||
// export for free. Common-good chains will typically be afforded this.
|
// export for free. Common-good chains will typically be afforded this.
|
||||||
let message =
|
let message =
|
||||||
Xcm(vec![ExportMessage { network: remote_network, destination: remote_location, xcm }]);
|
Xcm(vec![ExportMessage { network: remote_network, destination: remote_location, xcm }]);
|
||||||
let (v, cost) = validate_send::<Router>(bridge, message)?;
|
validate_send::<Router>(bridge, message)
|
||||||
Ok((v, cost))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn deliver(validation: Router::Ticket) -> Result<XcmHash, SendError> {
|
fn deliver(validation: Router::Ticket) -> Result<XcmHash, SendError> {
|
||||||
|
|||||||
Reference in New Issue
Block a user