mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-22 18:39:55 +00:00
* rename StorageMap::exists(key) to ::contains_key(key) * bump impl_version
This commit is contained in:
1 parent
503bfc9da9
commit
cb567d6b8b
26 files changed
+100
-100
No files matched your search
@@ -520,7 +520,7 @@ impl<T: Trait> Module<T> {
|
||||
///
|
||||
/// State: O(1).
|
||||
fn is_voter(who: &T::AccountId) -> bool {
|
||||
<StakeOf<T>>::exists(who)
|
||||
<StakeOf<T>>::contains_key(who)
|
||||
}
|
||||
|
||||
/// Check if `who` is currently an active member.
|
||||
|
||||
Reference in new issue
Block a user