diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-01 00:13:06 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-01 00:13:06 +0800 |
commit | d645388fa9c10baddb969640e943e1c95ce40bda (patch) | |
tree | 06c33bd9f81a51396299a5c7515bf6c19ad5e73e | |
parent | 53b422c64a6e8cee99357262365ffbb0f11b7d5b (diff) | |
download | dexon-solidity-d645388fa9c10baddb969640e943e1c95ce40bda.tar.gz dexon-solidity-d645388fa9c10baddb969640e943e1c95ce40bda.tar.zst dexon-solidity-d645388fa9c10baddb969640e943e1c95ce40bda.zip |
fixed style issue
-rw-r--r-- | jsonrpc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jsonrpc.cpp b/jsonrpc.cpp index ae8c08a7..cdb90eb7 100644 --- a/jsonrpc.cpp +++ b/jsonrpc.cpp @@ -125,7 +125,8 @@ BOOST_AUTO_TEST_CASE(jsonrpc_accounts) BOOST_CHECK_EQUAL(k.size(), keys.size()); for (auto &i:k) { - auto it = std::find_if(keys.begin(), keys.end(), [i](dev::KeyPair const& keyPair){ + auto it = std::find_if(keys.begin(), keys.end(), [i](dev::KeyPair const& keyPair) + { return jsToAddress(i.asString()) == keyPair.address(); }); BOOST_CHECK_EQUAL(it != keys.end(), true); |