Skip to content

Commit dd70a70

Browse files
committed
Update numeric literals for guidelines consistency
1 parent e27858d commit dd70a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/utils/RLP.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ library RLP {
141141
if (input < SHORT_OFFSET) {
142142
assembly ("memory-safe") {
143143
result := mload(0x40)
144-
mstore(result, 1) // length of the encoded data: 1 byte
144+
mstore(result, 0x01) // length of the encoded data: 1 byte
145145
mstore8(add(result, 0x20), or(input, mul(0x80, iszero(input)))) // input (zero is encoded as 0x80)
146146
mstore(0x40, add(result, 0x21)) // reserve memory
147147
}

0 commit comments

Comments
 (0)