File tree 1 file changed +3
-2
lines changed
crates/interledger-settlement-engines/src/stores/redis_ethereum_ledger
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,8 @@ mod tests {
370
370
#[ test]
371
371
fn saves_and_pops_uncredited_settlement_amount_properly ( ) {
372
372
block_on ( test_store ( ) . and_then ( |( store, context) | {
373
- let amount = BigUint :: from ( 100u64 ) ;
373
+ let amount = BigUint :: from_str ( "10000000000000000000" ) . unwrap ( ) ;
374
+ let ret_amount = BigUint :: from_str ( "30000000000000000000" ) . unwrap ( ) ;
374
375
let acc = "0" . to_string ( ) ;
375
376
join_all ( vec ! [
376
377
store. save_uncredited_settlement_amount( acc. clone( ) , amount. clone( ) ) ,
@@ -383,7 +384,7 @@ mod tests {
383
384
. load_uncredited_settlement_amount ( acc)
384
385
. map_err ( |err| eprintln ! ( "Redis error: {:?}" , err) )
385
386
. and_then ( move |ret| {
386
- assert_eq ! ( ret, BigUint :: from ( 300u64 ) ) ;
387
+ assert_eq ! ( ret, ret_amount ) ;
387
388
let _ = context;
388
389
Ok ( ( ) )
389
390
} )
You can’t perform that action at this time.
0 commit comments