aboutsummaryrefslogtreecommitdiffstats
path: root/docs/frequently-asked-questions.rst
diff options
context:
space:
mode:
authorRJ <catalanor0220@gmail.com>2016-03-26 00:25:14 +0800
committerRJ <catalanor0220@gmail.com>2016-03-26 00:25:14 +0800
commit927a9710d5ce37c86ffc642b6cc39eeaed0e1efb (patch)
tree1497c827a3c93bf1957dbe23a2a7247c04fc91eb /docs/frequently-asked-questions.rst
parent49dc38bac02580a5082d4519b67a1336ff0aa6e2 (diff)
downloaddexon-solidity-927a9710d5ce37c86ffc642b6cc39eeaed0e1efb.tar
dexon-solidity-927a9710d5ce37c86ffc642b6cc39eeaed0e1efb.tar.gz
dexon-solidity-927a9710d5ce37c86ffc642b6cc39eeaed0e1efb.tar.bz2
dexon-solidity-927a9710d5ce37c86ffc642b6cc39eeaed0e1efb.tar.lz
dexon-solidity-927a9710d5ce37c86ffc642b6cc39eeaed0e1efb.tar.xz
dexon-solidity-927a9710d5ce37c86ffc642b6cc39eeaed0e1efb.tar.zst
dexon-solidity-927a9710d5ce37c86ffc642b6cc39eeaed0e1efb.zip
Update frequently-asked-questions.rst
Diffstat (limited to 'docs/frequently-asked-questions.rst')
-rw-r--r--docs/frequently-asked-questions.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst
index 94fc9344..f960a0d6 100644
--- a/docs/frequently-asked-questions.rst
+++ b/docs/frequently-asked-questions.rst
@@ -652,6 +652,8 @@ How do I initialize a contract with only a specific amount of wei?
==================================================================
Currently the approach is a little ugly, but there is little that can be done to improve it.
+In the case of a `contract A` calling a new instance of `contract B`, parentheses have to be used around
+`new B` because `B.value` would refer to a member of `B` called `value`.
You will need to make sure that you have both contracts aware of each other's presence.
In this example::
contract B {}