Merge pull request #10023 from ethereum/develop

Merge develop into breaking.
This commit is contained in:
chriseth
2020-10-13 18:18:53 +02:00
committed by GitHub
62 changed files with 221 additions and 113 deletions
+2
View File
@@ -424,6 +424,8 @@ operations as long as there is enough gas passed on to it.
// If someone sends Ether to that contract, the receive function in TestPayable will be called.
require(address(test).send(2 ether));
// results in test.x becoming == 2 and test.y becoming 2 ether.
return true;
}
}