Skip to content

Commit

Permalink
Update ERC-7821: Fix incorrect code comment
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
Vectorized authored Jan 13, 2025
1 parent b62cfd0 commit 019a7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ERCS/erc-7821.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ abstract contract ERC7821 {
// - [0] ( 1 byte ) `0x01` for batch call.
// - [1] ( 1 byte ) `0x00` for revert on any failure.
// - [2..5] ( 4 bytes) Reserved by ERC7579 for future standardization.
// - [6..8] ( 4 bytes) `0x78210001` or `0x00000000`.
// - [9..31] (22 bytes) Unused. Free for use.
// - [6..9] ( 4 bytes) `0x78210001` or `0x00000000`.
// - [10..31] (22 bytes) Unused. Free for use.
uint256 m = (uint256(mode) >> (22 * 8)) & 0xffff00000000ffffffff;
if (m == 0x01000000000078210001) id = 2;
if (m == 0x01000000000000000000) id = 1;
Expand Down

0 comments on commit 019a7a1

Please sign in to comment.