Skip to content

Commit

Permalink
Address.functionCall internal call stack simplification (#3468)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Jun 16, 2022
1 parent 109778c commit cb3f2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/utils/Address.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ library Address {
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}

/**
Expand Down

0 comments on commit cb3f2ab

Please sign in to comment.