Skip to content

Commit

Permalink
Fix: lesson 53_ERC20Permit.Modify the content secp256k1 to keccak256
Browse files Browse the repository at this point in the history
  • Loading branch information
Ling ye authored and Ling ye committed Oct 11, 2024
1 parent 6ce6c25 commit 7baffa1
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 7baffa1

Please sign in to comment.