Skip to content

Commit 2c1bd89

Browse files
committed
docs: add comment to unique_hash
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent 7ebda00 commit 2c1bd89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tap_core/src/eip_712_signed_message.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ impl<M: SolStruct> EIP712SignedMessage<M> {
6060
Ok(())
6161
}
6262

63+
/// Use this a simple key for testing
6364
pub fn unique_hash(&self) -> MessageId {
6465
MessageId(self.message.eip712_hash_struct().into())
6566
}

0 commit comments

Comments
 (0)