File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 22
22
use super :: * ;
23
23
use frame_system:: RawOrigin ;
24
24
use frame_benchmarking:: { benchmarks, account} ;
25
- use sp_runtime:: traits:: { Bounded , Saturating } ;
25
+ use sp_runtime:: traits:: Bounded ;
26
26
use core:: convert:: TryInto ;
27
27
28
28
use crate :: Module as Multisig ;
@@ -36,8 +36,7 @@ fn setup_multi<T: Trait>(s: u32, z: u32)
36
36
for i in 0 .. s {
37
37
let signatory = account ( "signatory" , i, SEED ) ;
38
38
// Give them some balance for a possible deposit
39
- let deposit = T :: DepositBase :: get ( ) + T :: DepositFactor :: get ( ) * s. into ( ) ;
40
- let balance = T :: Currency :: minimum_balance ( ) . saturating_mul ( 100 . into ( ) ) + deposit;
39
+ let balance = BalanceOf :: < T > :: max_value ( ) ;
41
40
T :: Currency :: make_free_balance_be ( & signatory, balance) ;
42
41
signatories. push ( signatory) ;
43
42
}
You can’t perform that action at this time.
0 commit comments