Skip to content

Commit 75084cc

Browse files
committed
primitives - impl ToETHChecksum for &[u8; 20]
1 parent 47684b8 commit 75084cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

primitives/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,5 @@ pub trait ToETHChecksum: AsRef<[u8]> {
6363
eth_checksum::checksum(&hex::encode(self.as_ref()))
6464
}
6565
}
66+
67+
impl ToETHChecksum for &[u8; 20] {}

0 commit comments

Comments
 (0)