Skip to content

Commit

Permalink
♻️ Try fix via-ir (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized authored Dec 17, 2024
1 parent ccaed15 commit ac2276f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokens/ERC1155.sol
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ abstract contract ERC1155 {
calldatacopy(add(o, 0x20), data.offset, data.length)
let nAll := add(0x104, add(data.length, add(n, n)))
// Revert if the call reverts.
if iszero(call(gas(), mload(0x00), 0, add(m, 0x1c), nAll, m, 0x20)) {
if iszero(call(gas(), mload(0x00), 0, add(mload(0x40), 0x1c), nAll, m, 0x20)) {
if returndatasize() {
// Bubble up the revert if the call reverts.
returndatacopy(m, 0x00, returndatasize())
Expand Down

0 comments on commit ac2276f

Please sign in to comment.