mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-08 12:28:01 +00:00
[XCM - UnpaidRemoteExporter] Remove unreachable code (#7088)
* Remove unreachable code * Fix warning
This commit is contained in:
@@ -160,10 +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, mut cost) = validate_send::<Router>(bridge, message)?;
|
||||
if let Some(payment) = maybe_payment {
|
||||
cost.push(payment);
|
||||
}
|
||||
let (v, cost) = validate_send::<Router>(bridge, message)?;
|
||||
Ok((v, cost))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user