Skip to content

Commit

Permalink
Merge pull request #810 from LingYe-WEB3/fix/53_ERC20Permit
Browse files Browse the repository at this point in the history
Fix: lesson 53_ERC20Permit.Modify the content secp256k1 to keccak256
  • Loading branch information
AmazingAng authored Oct 19, 2024
2 parents dd8deed + 7baffa1 commit c19151d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 53_ERC20Permit/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ EIP-2612 提出了 ERC20Permit,扩展了 ERC20 标准,添加了一个 `permi

- `spender` 不能是零地址。
- `deadline` 必须是未来的时间戳。
- `v``r``s` 必须是 `owner` 对 EIP712 格式的函数参数的有效 `secp256k1` 签名。
- `v``r``s` 必须是 `owner` 对 EIP712 格式的函数参数的有效 `keccak256` 签名。
- 签名必须使用 `owner` 当前的 nonce。


Expand Down

0 comments on commit c19151d

Please sign in to comment.