diff options
author | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-10-31 16:46:20 +0800 |
---|---|---|
committer | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-10-31 16:46:20 +0800 |
commit | bc1aaa78a8fc2954e45e5cea9118f61aec16ad80 (patch) | |
tree | d211f0563a4245796bebcbf59b6cc456ffc86271 | |
parent | 3d17d7b2f13545914647fd5d3eaceda3a8646fc4 (diff) | |
parent | bf763824f327c956392cd527c30d57bb3ec6fe1f (diff) | |
download | dexon-solidity-bc1aaa78a8fc2954e45e5cea9118f61aec16ad80.tar.gz dexon-solidity-bc1aaa78a8fc2954e45e5cea9118f61aec16ad80.tar.zst dexon-solidity-bc1aaa78a8fc2954e45e5cea9118f61aec16ad80.zip |
Merge remote-tracking branch 'upstream/develop' into stateTests
Conflicts:
libethereum/AddressState.h
test/vm.cpp
-rw-r--r-- | vm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -252,9 +252,9 @@ void FakeExtVM::importExec(mObject& _o) code = &thisTxCode; if (_o["code"].type() == str_type) if (_o["code"].get_str().find_first_of("0x") == 0) - thisTxCode = compileLLL(_o["code"].get_str()); - else thisTxCode = fromHex(_o["code"].get_str().substr(2)); + else + thisTxCode = compileLLL(_o["code"].get_str()); else if (_o["code"].type() == array_type) for (auto const& j: _o["code"].get_array()) thisTxCode.push_back(toByte(j)); |