mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge branch 'develop' into mk_jsonrpc
This commit is contained in:
commit
59b3f48637
4
vm.cpp
4
vm.cpp
@ -359,9 +359,9 @@ void FakeExtVM::importExec(mObject& _o)
|
|||||||
code = &thisTxCode;
|
code = &thisTxCode;
|
||||||
if (_o["code"].type() == str_type)
|
if (_o["code"].type() == str_type)
|
||||||
if (_o["code"].get_str().find_first_of("0x") == 0)
|
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));
|
thisTxCode = fromHex(_o["code"].get_str().substr(2));
|
||||||
|
else
|
||||||
|
thisTxCode = compileLLL(_o["code"].get_str());
|
||||||
else if (_o["code"].type() == array_type)
|
else if (_o["code"].type() == array_type)
|
||||||
for (auto const& j: _o["code"].get_array())
|
for (auto const& j: _o["code"].get_array())
|
||||||
thisTxCode.push_back(toByte(j));
|
thisTxCode.push_back(toByte(j));
|
||||||
|
Loading…
Reference in New Issue
Block a user