diff options
author | Gav Wood <g@ethdev.com> | 2015-07-14 23:44:28 +0800 |
---|---|---|
committer | Gav Wood <g@ethdev.com> | 2015-07-14 23:44:28 +0800 |
commit | ac98dbfa76ce937a386841e566349d0a60217179 (patch) | |
tree | e47dda42f904b0f0af7c5c4e7b6f8a311d0a0bd8 | |
parent | c483a587527bd322c8aa17cb1826d16fee8169cc (diff) | |
parent | e906bb906f912524e70a49aec580ae5e0d99be32 (diff) | |
download | dexon-solidity-ac98dbfa76ce937a386841e566349d0a60217179.tar.gz dexon-solidity-ac98dbfa76ce937a386841e566349d0a60217179.tar.zst dexon-solidity-ac98dbfa76ce937a386841e566349d0a60217179.zip |
Merge pull request #2463 from arkpar/az-fix
Allow 0x prefix for address entry in AZ
-rw-r--r-- | TestHelper.cpp | 2 |
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)); |