mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-21 09:59: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
@@ -191,7 +191,7 @@ decl_module! {
|
||||
|
||||
let proposal_hash = T::Hashing::hash_of(&proposal);
|
||||
|
||||
ensure!(!<ProposalOf<T, I>>::exists(proposal_hash), Error::<T, I>::DuplicateProposal);
|
||||
ensure!(!<ProposalOf<T, I>>::contains_key(proposal_hash), Error::<T, I>::DuplicateProposal);
|
||||
|
||||
if threshold < 2 {
|
||||
let seats = Self::members().len() as MemberCount;
|
||||
|
||||
Reference in new issue
Block a user