mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix for making code.
This commit is contained in:
parent
27a7415bfa
commit
d66fa9211f
5
vm.cpp
5
vm.cpp
@ -396,7 +396,10 @@ void doTests(json_spirit::mValue& v, bool _fillin)
|
|||||||
|
|
||||||
fev.importExec(o["exec"].get_obj());
|
fev.importExec(o["exec"].get_obj());
|
||||||
if (!fev.code)
|
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);
|
vm.reset(fev.gas);
|
||||||
bytes output = vm.go(fev).toBytes();
|
bytes output = vm.go(fev).toBytes();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user