diff options
author | Gav Wood <i@gavwood.com> | 2014-07-10 17:16:34 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-07-10 17:16:34 +0800 |
commit | d66fa9211fbe59a0f52fccabffd3c5d27a8c06a3 (patch) | |
tree | 393165c1154b330a4f8f57eea68efb273dec998f | |
parent | 27a7415bfa5225752a8df36482e0c4c34c4a4d5b (diff) | |
download | dexon-solidity-d66fa9211fbe59a0f52fccabffd3c5d27a8c06a3.tar dexon-solidity-d66fa9211fbe59a0f52fccabffd3c5d27a8c06a3.tar.gz dexon-solidity-d66fa9211fbe59a0f52fccabffd3c5d27a8c06a3.tar.bz2 dexon-solidity-d66fa9211fbe59a0f52fccabffd3c5d27a8c06a3.tar.lz dexon-solidity-d66fa9211fbe59a0f52fccabffd3c5d27a8c06a3.tar.xz dexon-solidity-d66fa9211fbe59a0f52fccabffd3c5d27a8c06a3.tar.zst dexon-solidity-d66fa9211fbe59a0f52fccabffd3c5d27a8c06a3.zip |
Fix for making code.
-rw-r--r-- | vm.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -396,7 +396,10 @@ void doTests(json_spirit::mValue& v, bool _fillin) fev.importExec(o["exec"].get_obj()); if (!fev.code) - fev.code = &get<3>(fev.addresses.at(fev.myAddress)); + { + fev.thisTxCode = get<3>(fev.addresses.at(fev.myAddress)); + fev.code = &fev.thisTxCode; + } vm.reset(fev.gas); bytes output = vm.go(fev).toBytes(); |