Skip to content

Commit f1deecd

Browse files
Fix offset in comments (#624)
1 parent 7d4a0c6 commit f1deecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/libraries/Message.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ library Message {
1515
// offset 32: 20 bytes :: address - recipient address
1616
// offset 52: 32 bytes :: uint256 - value
1717
// offset 84: 32 bytes :: bytes32 - transaction hash
18-
// offset 104: 20 bytes :: address - contract address to prevent double spending
18+
// offset 116: 20 bytes :: address - contract address to prevent double spending
1919

2020
// mload always reads 32 bytes.
2121
// so we can and have to start reading recipient at offset 20 instead of 32.

0 commit comments

Comments
 (0)