Skip to content

Commit

Permalink
docs: add comment to unique_hash
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>
  • Loading branch information
gusinacio committed Mar 8, 2024
1 parent 7ebda00 commit 2c1bd89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tap_core/src/eip_712_signed_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ impl<M: SolStruct> EIP712SignedMessage<M> {
Ok(())
}

/// Use this a simple key for testing
pub fn unique_hash(&self) -> MessageId {
MessageId(self.message.eip712_hash_struct().into())
}
Expand Down

0 comments on commit 2c1bd89

Please sign in to comment.