mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove unneeded paragraph
This commit is contained in:
parent
1475cde288
commit
7fc496b6ab
@ -142,9 +142,6 @@ the gas can be specified with special options ``.value()`` and ``.gas()``, respe
|
||||
You need to use the modifier ``payable`` with the ``info`` function because
|
||||
otherwise, the ``.value()`` option would not be available.
|
||||
|
||||
You can also use ``function setFeed(InfoFeed _feed) { feed = _feed; }``
|
||||
directly.
|
||||
|
||||
.. warning::
|
||||
Be careful that ``feed.info.value(10).gas(800)`` only locally sets the ``value`` and amount of ``gas`` sent with the function call, and the parentheses at the end perform the actual call.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user