diff options
author | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-04 06:49:05 +0800 |
---|---|---|
committer | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-04 06:49:05 +0800 |
commit | 1310011f77d157265c8137daf90c9f7bb9f6e90e (patch) | |
tree | 63ec1de03c0a9bb6562f197ed4e126014fd1b05a /createRandomTest.cpp | |
parent | c931e3ceec902c31734fe6e7143a209d7637611f (diff) | |
download | dexon-solidity-1310011f77d157265c8137daf90c9f7bb9f6e90e.tar.gz dexon-solidity-1310011f77d157265c8137daf90c9f7bb9f6e90e.tar.zst dexon-solidity-1310011f77d157265c8137daf90c9f7bb9f6e90e.zip |
Fix ABAcalls OOG bug
Diffstat (limited to 'createRandomTest.cpp')
-rw-r--r-- | createRandomTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/createRandomTest.cpp b/createRandomTest.cpp index 28e4342d..457478fd 100644 --- a/createRandomTest.cpp +++ b/createRandomTest.cpp @@ -134,10 +134,10 @@ void doMyTests(json_spirit::mValue& v) o["pre"] = mValue(fev.exportState()); fev.importExec(o["exec"].get_obj()); - if (!fev.code) + if (!fev.code.size()) { fev.thisTxCode = get<3>(fev.addresses.at(fev.myAddress)); - fev.code = &fev.thisTxCode; + fev.code = fev.thisTxCode; } vm.reset(fev.gas); |