aboutsummaryrefslogtreecommitdiffstats
path: root/state.cpp
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-04 06:49:05 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-04 06:49:05 +0800
commit1310011f77d157265c8137daf90c9f7bb9f6e90e (patch)
tree63ec1de03c0a9bb6562f197ed4e126014fd1b05a /state.cpp
parentc931e3ceec902c31734fe6e7143a209d7637611f (diff)
downloaddexon-solidity-1310011f77d157265c8137daf90c9f7bb9f6e90e.tar.gz
dexon-solidity-1310011f77d157265c8137daf90c9f7bb9f6e90e.tar.zst
dexon-solidity-1310011f77d157265c8137daf90c9f7bb9f6e90e.zip
Fix ABAcalls OOG bug
Diffstat (limited to 'state.cpp')
-rw-r--r--state.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/state.cpp b/state.cpp
index 3a81821e..cc772f2c 100644
--- a/state.cpp
+++ b/state.cpp
@@ -20,8 +20,6 @@
* State test functions.
*/
-#define FILL_TESTS
-
#include <boost/filesystem/operations.hpp>
#include <boost/test/unit_test.hpp>
#include "JsonSpiritHeaders.h"
@@ -60,7 +58,7 @@ void doStateTests(json_spirit::mValue& v, bool _fillin)
if (_fillin)
{
importer.code = importer.m_statePre.code(importer.m_environment.myAddress);
- importer.m_environment.code = &importer.code;
+ importer.m_environment.code = importer.code;
}
State theState = importer.m_statePre;