mirror of
https://github.com/status-im/snt-gas-relay.git
synced 2025-01-16 09:24:35 +00:00
fix typo
This commit is contained in:
parent
27d0fc24b6
commit
497076382b
@ -67,7 +67,7 @@ contract Factory is Controlled {
|
||||
// by using o_code = new bytes(size)
|
||||
o_code := mload(0x40)
|
||||
// new "memory end" including padding
|
||||
mstore(0x40, add(o_code, and(add(add(size, 0x20), 0x1f), bnot(0x1f))))
|
||||
mstore(0x40, add(o_code, and(add(add(size, 0x20), 0x1f), not(0x1f))))
|
||||
// store length in memory
|
||||
mstore(o_code, size)
|
||||
// actually retrieve the code, this needs assembly
|
||||
|
Loading…
x
Reference in New Issue
Block a user