Finalize return value example

pull/79/head
Bernhard Mueller 7 years ago
parent f4e59047ef
commit 62eb0b9677
  1. 12
      solidity_examples/returnvalue.sol

@ -2,18 +2,12 @@ contract ReturnValue {
address callee = 0xE0F7e56e62b4267062172495D7506087205A4229; address callee = 0xE0F7e56e62b4267062172495D7506087205A4229;
function call1() returns (uint256) { function callnotchecked() {
callee.call(); callee.call();
} }
function call2() returns (uint256) { function callchecked() {
require(callee.call());
}
function call3() returns (uint256) {
} }
} }
Loading…
Cancel
Save