diff options
author | Chris Ward <chris.ward@ethereum.org> | 2019-01-16 20:36:59 +0800 |
---|---|---|
committer | Chris Ward <chris.ward@ethereum.org> | 2019-01-21 18:37:08 +0800 |
commit | a1df27ae3d65d22e69c1bf6b812e69d3d92a28cc (patch) | |
tree | a1ca1eb141b27653328d4faa235ecfe76d5fde94 /docs/frequently-asked-questions.rst | |
parent | 606c2b99456c6be4cb1f563edee5286787b67490 (diff) | |
download | dexon-solidity-a1df27ae3d65d22e69c1bf6b812e69d3d92a28cc.tar.gz dexon-solidity-a1df27ae3d65d22e69c1bf6b812e69d3d92a28cc.tar.zst dexon-solidity-a1df27ae3d65d22e69c1bf6b812e69d3d92a28cc.zip |
Merge payable FAQ item
Diffstat (limited to 'docs/frequently-asked-questions.rst')
-rw-r--r-- | docs/frequently-asked-questions.rst | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index ff2f1fac..4cd9acb2 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -54,13 +54,6 @@ Yes, you can use ``abi.encodePacked``:: } } -What happens if you send ether along with a function call to a contract? -======================================================================== - -It gets added to the total balance of the contract, just like when you send ether when creating a contract. -You can only send ether along to a function that has the ``payable`` modifier, -otherwise an exception is thrown. - ****************** Advanced Questions ****************** |