diff options
author | Gav Wood <i@gavwood.com> | 2015-01-25 10:09:35 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-01-25 10:09:35 +0800 |
commit | fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf (patch) | |
tree | de42569c4c27479a0f808f36199985427b06de3b /dist/ethereum.js | |
parent | 7869294a26b00983df6fb64fab6a11e4c11c38ff (diff) | |
download | go-tangerine-fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf.tar go-tangerine-fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf.tar.gz go-tangerine-fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf.tar.bz2 go-tangerine-fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf.tar.lz go-tangerine-fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf.tar.xz go-tangerine-fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf.tar.zst go-tangerine-fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf.zip |
Auto select call or transact depending on constness.
Diffstat (limited to 'dist/ethereum.js')
-rw-r--r-- | dist/ethereum.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/ethereum.js b/dist/ethereum.js index 1b0aa5e73..f3d53ed30 100644 --- a/dist/ethereum.js +++ b/dist/ethereum.js @@ -500,11 +500,11 @@ var contract = function (address, desc) { options.to = address; options.data = signature + parsed; - var isTransact = result._isTransact; + var isTransact = result._isTransact === true || (result._isTransact !== false && !method.constant); // reset result._options = {}; - result._isTransact = false; + result._isTransact = null; if (isTransact) { // it's used byt natspec.js |