aboutsummaryrefslogtreecommitdiffstats
path: root/vm.cpp
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-06 04:02:16 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-06 04:02:16 +0800
commite53f83151096f51328ef03a355c58bb8e84064a3 (patch)
tree3d898d678081bcc8050b5df35bb87582db294845 /vm.cpp
parent8e6bfb1fb344cf26fc60973086f3116927d3bf43 (diff)
downloaddexon-solidity-e53f83151096f51328ef03a355c58bb8e84064a3.tar.gz
dexon-solidity-e53f83151096f51328ef03a355c58bb8e84064a3.tar.zst
dexon-solidity-e53f83151096f51328ef03a355c58bb8e84064a3.zip
Added dynamic jump out of code test
Diffstat (limited to 'vm.cpp')
-rw-r--r--vm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.cpp b/vm.cpp
index 0457d7bb..acede800 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -213,7 +213,7 @@ mArray FakeExtVM::exportCallCreates()
for (Transaction const& tx: callcreates)
{
mObject o;
- o["destination"] = tx.type() == Transaction::ContractCreation ? "" : toString(tx.receiveAddress());
+ o["destination"] = tx.isCreation() ? "" : toString(tx.receiveAddress());
push(o, "gasLimit", tx.gas());
push(o, "value", tx.value());
o["data"] = "0x" + toHex(tx.data());