mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +00:00
* Fixups for new Convert APIs
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -389,7 +389,7 @@ macro_rules! __impl_relay {
|
||||
}
|
||||
|
||||
pub fn sovereign_account_id_of(location: $crate::MultiLocation) -> $crate::AccountId {
|
||||
<Self as RelayChain>::SovereignAccountOf::convert(location.into()).unwrap()
|
||||
<Self as RelayChain>::SovereignAccountOf::convert_location(&location).unwrap()
|
||||
}
|
||||
|
||||
pub fn fund_accounts(accounts: Vec<(AccountId, Balance)>) {
|
||||
@@ -654,7 +654,7 @@ macro_rules! __impl_parachain {
|
||||
}
|
||||
|
||||
pub fn sovereign_account_id_of(location: $crate::MultiLocation) -> $crate::AccountId {
|
||||
<Self as Parachain>::LocationToAccountId::convert(location.into()).unwrap()
|
||||
<Self as Parachain>::LocationToAccountId::convert_location(&location).unwrap()
|
||||
}
|
||||
|
||||
pub fn fund_accounts(accounts: Vec<(AccountId, Balance)>) {
|
||||
|
||||
Reference in New Issue
Block a user