Address.functionCall internal call stack simplification (#3468)

pull/3489/head
Mikhail Melnik 3 years ago committed by GitHub
parent 109778c17c
commit cb3f2ab900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contracts/utils/Address.sol

@ -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");
}
/**

Loading…
Cancel
Save