mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 02:31:03 +00:00
Remove indices from node-template (#5025)
* Remove indices from node-template * Use identity lookup instead * Bump impl * clean cargo.toml
This commit is contained in:
@@ -264,7 +264,7 @@ impl<T: Trait> StaticLookup for Module<T> {
|
||||
type Source = address::Address<T::AccountId, T::AccountIndex>;
|
||||
type Target = T::AccountId;
|
||||
|
||||
fn lookup(a: Self::Source) -> Result<T::AccountId, LookupError> {
|
||||
fn lookup(a: Self::Source) -> Result<Self::Target, LookupError> {
|
||||
Self::lookup_address(a).ok_or(LookupError)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user