@@ -17,7 +17,7 @@ library LowLevelCall {
1717 /// @dev Same as {callNoReturn}, but allows to specify the value to be sent in the call.
1818 function callNoReturn (address target , uint256 value , bytes memory data ) internal returns (bool success ) {
1919 assembly ("memory-safe" ) {
20- success := call (gas (), target, value, add (data, 0x20 ), mload (data), 0 , 0 )
20+ success := call (gas (), target, value, add (data, 0x20 ), mload (data), 0x00 , 0x00 )
2121 }
2222 }
2323
@@ -40,7 +40,7 @@ library LowLevelCall {
4040 bytes memory data
4141 ) internal returns (bool success , bytes32 result1 , bytes32 result2 ) {
4242 assembly ("memory-safe" ) {
43- success := call (gas (), target, value, add (data, 0x20 ), mload (data), 0 , 0x40 )
43+ success := call (gas (), target, value, add (data, 0x20 ), mload (data), 0x00 , 0x40 )
4444 result1 := mload (0x00 )
4545 result2 := mload (0x20 )
4646 }
@@ -49,7 +49,7 @@ library LowLevelCall {
4949 /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.
5050 function staticcallNoReturn (address target , bytes memory data ) internal view returns (bool success ) {
5151 assembly ("memory-safe" ) {
52- success := staticcall (gas (), target, add (data, 0x20 ), mload (data), 0 , 0 )
52+ success := staticcall (gas (), target, add (data, 0x20 ), mload (data), 0x00 , 0x00 )
5353 }
5454 }
5555
0 commit comments