aboutsummaryrefslogtreecommitdiffstats
path: root/createRandomTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'createRandomTest.cpp')
-rw-r--r--createRandomTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/createRandomTest.cpp b/createRandomTest.cpp
index 321e515d..a9a99377 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);