From 927a9710d5ce37c86ffc642b6cc39eeaed0e1efb Mon Sep 17 00:00:00 2001 From: RJ Date: Fri, 25 Mar 2016 11:25:14 -0500 Subject: Update frequently-asked-questions.rst --- docs/frequently-asked-questions.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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 {} -- cgit v1.2.3