mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
Return a Result in invert_location (#3730)
* Return a Result in invert_location * Add invertible to spellcheck dictionary * Fix Some -> Ok
This commit is contained in:
@@ -68,8 +68,8 @@ impl WeightTrader for DummyWeightTrader {
|
||||
|
||||
pub struct InvertNothing;
|
||||
impl InvertLocation for InvertNothing {
|
||||
fn invert_location(_: &MultiLocation) -> MultiLocation {
|
||||
Here.into()
|
||||
fn invert_location(_: &MultiLocation) -> sp_std::result::Result<MultiLocation, ()> {
|
||||
Ok(Here.into())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user