File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,4 +72,4 @@ cargo test
7272
7373## 🔒 License
7474
75- This project is licensed under the MIT License - see the [ LICENSE] ( LICENSE ) file for details.# ethereum-ecdsa-verifier
75+ This project is licensed under the MIT License - see the [ LICENSE] ( LICENSE ) file for details.
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ fn recover_address_from_eth_signature(
7676 // Hash the message using Ethereum's prefixed method
7777 let message_bytes: [ u8 ; 32 ] = hash_eth_message ( message)
7878 . try_into ( )
79- . map_err ( |e| format ! ( "{:?}" , e ) ) ?;
79+ . map_err ( |e| format ! ( "{e :?}" ) ) ?;
8080 let message_bytes_32 = libsecp256k1:: Message :: parse ( & message_bytes) ;
8181
8282 // Recover the public key using secp256k1 recovery
@@ -89,7 +89,7 @@ fn recover_address_from_eth_signature(
8989 . serialize_compressed ( )
9090 . to_vec ( )
9191 . try_into ( )
92- . map_err ( |e| format ! ( "{:?}" , e ) ) ?,
92+ . map_err ( |e| format ! ( "{e :?}" ) ) ?,
9393 )
9494}
9595
You can’t perform that action at this time.
0 commit comments