Skip to content

Commit

Permalink
update comment in SNIP12
Browse files Browse the repository at this point in the history
  • Loading branch information
pscott committed Jul 4, 2024
1 parent 4e8ebce commit beaae49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions starknet/src/utils/snip12.cairo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// EIP712 style typed data signing implementation.
/// SNIP12 style typed data signing implementation.
/// See here for more info: https://community.starknet.io/t/snip-off-chain-signatures-a-la-eip712/98029
#[starknet::contract]
mod SNIP12 {
Expand Down Expand Up @@ -154,7 +154,6 @@ mod SNIP12 {
name.serialize(ref encoded_data);
version.serialize(ref encoded_data);
starknet::get_tx_info().unbox().chain_id.serialize(ref encoded_data);
starknet::get_contract_address().serialize(ref encoded_data);
encoded_data.span().struct_hash()
}

Expand Down

0 comments on commit beaae49

Please sign in to comment.