File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ impl Adapter for DummyAdapter {
43
43
let signature = format ! (
44
44
"Dummy adapter signature for {} by {}" ,
45
45
state_root,
46
- self . whoami( )
46
+ self . whoami( ) . to_hex_checksummed_string ( )
47
47
) ;
48
48
Ok ( signature)
49
49
}
@@ -57,7 +57,7 @@ impl Adapter for DummyAdapter {
57
57
// select the `identity` and compare it to the signer
58
58
// for empty string this will return array with 1 element - an empty string `[""]`
59
59
let is_same = match signature. rsplit ( ' ' ) . take ( 1 ) . next ( ) {
60
- Some ( from) => from == signer. to_string ( ) ,
60
+ Some ( from) => from == signer. to_hex_checksummed_string ( ) ,
61
61
None => false ,
62
62
} ;
63
63
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ impl<T: Adapter + 'static> SentryApi<T> {
96
96
let url = format ! (
97
97
"{}/validator-messages/{}/{}?limit=1" ,
98
98
self . validator_url,
99
- from. to_string ( ) ,
99
+ from. to_hex_checksummed_string ( ) ,
100
100
message_type
101
101
) ;
102
102
let result = self
You can’t perform that action at this time.
0 commit comments