aboutsummaryrefslogtreecommitdiffstats
path: root/state.cpp
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-05 06:45:18 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-05 06:45:18 +0800
commit086326b5dac42cd8d20d2f739dda1ff2ce6e1703 (patch)
treea288fd5d5f89eefc1de1009c1bd9dd3e046ba409 /state.cpp
parent1fb562732e0b6fc59e709bc7f42c2881e86cf5b3 (diff)
parent6199f74aaf3a5df73c0b88bc4de2611560813a78 (diff)
downloaddexon-solidity-086326b5dac42cd8d20d2f739dda1ff2ce6e1703.tar.gz
dexon-solidity-086326b5dac42cd8d20d2f739dda1ff2ce6e1703.tar.zst
dexon-solidity-086326b5dac42cd8d20d2f739dda1ff2ce6e1703.zip
Merge branch 'StateBug' into NewStateTests
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 2e313cc4..4034b4b7 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;