mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Replace bitmask with bitflags (#7159)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -92,7 +92,7 @@ use frame_support::{
|
||||
traits::{
|
||||
BalanceStatus, ChangeMembers, Contains, ContainsLengthBound, Currency, CurrencyToVote, Get,
|
||||
InitializeMembers, LockIdentifier, LockableCurrency, OnUnbalanced, ReservableCurrency,
|
||||
WithdrawReason, WithdrawReasons,
|
||||
WithdrawReasons,
|
||||
},
|
||||
weights::Weight,
|
||||
};
|
||||
@@ -365,7 +365,7 @@ decl_module! {
|
||||
T::ModuleId::get(),
|
||||
&who,
|
||||
locked_balance,
|
||||
WithdrawReasons::except(WithdrawReason::TransactionPayment),
|
||||
WithdrawReasons::except(WithdrawReasons::TRANSACTION_PAYMENT),
|
||||
);
|
||||
|
||||
Voting::<T>::insert(&who, (locked_balance, votes));
|
||||
|
||||
Reference in New Issue
Block a user