diff options
author | Chris Ward <chris.ward@ethereum.org> | 2019-01-03 00:25:16 +0800 |
---|---|---|
committer | Chris Ward <chris.ward@ethereum.org> | 2019-01-07 21:20:10 +0800 |
commit | cefc6c433e1722364a1461a144b077e57e2ecafe (patch) | |
tree | ccb81630ace0da0ba436d6084d259f188ad90bf3 /docs/frequently-asked-questions.rst | |
parent | aca9e581454585fab494a87febb7da3278e3aa7b (diff) | |
download | dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.gz dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.zst dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.zip |
Update non-existant pragma 0.4.99 to 0.5.0
Use correct syntax for pragma
Change pragma syntax
One more change to pragma syntax
Diffstat (limited to 'docs/frequently-asked-questions.rst')
-rw-r--r-- | docs/frequently-asked-questions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index ae25b935..2cc082b4 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -120,7 +120,7 @@ In the case of a ``contract A`` calling a new instance of ``contract B``, parent You will need to make sure that you have both contracts aware of each other's presence and that ``contract B`` has a ``payable`` constructor. In this example:: - pragma solidity >0.4.99 <0.6.0; + pragma solidity ^0.5.0; contract B { constructor() public payable {} |