mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-24 19:39:56 +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:
1 parent
636d0b030f
commit
64cbeab3b3
8 files changed
+56
-28
No files matched your search
@@ -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