Sensible locking for staking and council. (#3050)

* Sensible locking for staking and council.

* Bump.
This commit is contained in:
Kian Peymani
2019-07-10 20:03:14 +02:00
committed by Gavin Wood
parent ddfc761dbf
commit 814b9056b3
5 changed files with 61 additions and 11 deletions
+1 -1
View File
@@ -777,7 +777,7 @@ impl<T: Trait> Module<T> {
&who,
locked_balance,
T::BlockNumber::max_value(),
WithdrawReasons::all()
WithdrawReasons::except(WithdrawReason::TransactionPayment),
);
<VoterInfoOf<T>>::insert(