aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-01-21 03:33:33 +0800
committerGav Wood <i@gavwood.com>2015-01-21 03:33:33 +0800
commit5f54782ed090d62a241bf5a70d52b48a9e217336 (patch)
treeac31833be77cb16c4a0d6c7efb6100468f37c550 /TestHelper.cpp
parent1fc3c7b4986e79908b44ecb74dc0e650bbf2bd97 (diff)
downloaddexon-solidity-5f54782ed090d62a241bf5a70d52b48a9e217336.tar.gz
dexon-solidity-5f54782ed090d62a241bf5a70d52b48a9e217336.tar.zst
dexon-solidity-5f54782ed090d62a241bf5a70d52b48a9e217336.zip
Cleanups and addition AZ info.
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r--TestHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 355a5080..45c56f6a 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -115,7 +115,7 @@ void ImportTest::importState(json_spirit::mObject& _o, State& _state)
if (code.size())
{
_state.m_cache[address] = Account(toInt(o["balance"]), Account::ContractConception);
- _state.m_cache[address].setCode(bytesConstRef(&code));
+ _state.m_cache[address].setCode(code);
}
else
_state.m_cache[address] = Account(toInt(o["balance"]), Account::NormalCreation);