@@ -424,7 +424,7 @@ mod test {
424
424
let whoami = eth_adapter. whoami ( ) ;
425
425
assert_eq ! (
426
426
whoami. to_string( ) ,
427
- "0x2bdeafae53940669daa6f519373f686c1f3d3393 " ,
427
+ "0x2bDeAFAE53940669DaA6F519373f686c1f3d3393 " ,
428
428
"failed to get correct whoami"
429
429
) ;
430
430
@@ -542,7 +542,7 @@ mod test {
542
542
. expect ( "Failed to set balance" ) ;
543
543
544
544
let leader_validator_desc = ValidatorDesc {
545
- // keystore.json addresss (same with js)
545
+ // keystore.json address (same with js)
546
546
id : ValidatorId :: try_from ( "2bdeafae53940669daa6f519373f686c1f3d3393" )
547
547
. expect ( "failed to create id" ) ,
548
548
url : "http://localhost:8005" . to_string ( ) ,
@@ -551,7 +551,7 @@ mod test {
551
551
} ;
552
552
553
553
let follower_validator_desc = ValidatorDesc {
554
- // keystore2.json addresss (same with js)
554
+ // keystore2.json address (same with js)
555
555
id : ValidatorId :: try_from ( "6704Fbfcd5Ef766B287262fA2281C105d57246a6" )
556
556
. expect ( "failed to create id" ) ,
557
557
url : "http://localhost:8006" . to_string ( ) ,
@@ -605,7 +605,7 @@ mod test {
605
605
. expect ( "open channel" ) ;
606
606
607
607
let contract_addr = <[ u8 ; 20 ] >:: from_hex ( & format ! ( "{:?}" , adex_contract. address( ) ) [ 2 ..] )
608
- . expect ( "failed to deserialise contract addr" ) ;
608
+ . expect ( "failed to deserialize contract addr" ) ;
609
609
610
610
let channel_id = eth_channel. hash ( & contract_addr) . expect ( "hash hex" ) ;
611
611
// set id to proper id
0 commit comments