aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-07-15 00:53:38 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-07-15 00:53:38 +0800
commit6b068c6726a448847d6516e4d43a0c3103bed989 (patch)
tree5ff66964cb77cbcf17957eed474d180945948a53 /TestHelper.cpp
parentc99c60c32fea82b8f791fc8f1e1950b5ae1bb1bc (diff)
parenta904cafa389c46eb5ce0961fccb424f058ac977d (diff)
downloaddexon-solidity-6b068c6726a448847d6516e4d43a0c3103bed989.tar
dexon-solidity-6b068c6726a448847d6516e4d43a0c3103bed989.tar.gz
dexon-solidity-6b068c6726a448847d6516e4d43a0c3103bed989.tar.bz2
dexon-solidity-6b068c6726a448847d6516e4d43a0c3103bed989.tar.lz
dexon-solidity-6b068c6726a448847d6516e4d43a0c3103bed989.tar.xz
dexon-solidity-6b068c6726a448847d6516e4d43a0c3103bed989.tar.zst
dexon-solidity-6b068c6726a448847d6516e4d43a0c3103bed989.zip
Merge branch 'develop' into client_ref
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 9a1b1693..2ed1ed4d 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -479,7 +479,7 @@ bytes importCode(json_spirit::mObject& _o)
{
bytes code;
if (_o["code"].type() == json_spirit::str_type)
- if (_o["code"].get_str().find_first_of("0x") != 0)
+ if (_o["code"].get_str().find("0x") != 0)
code = compileLLL(_o["code"].get_str(), false);
else
code = fromHex(_o["code"].get_str().substr(2));