From d645388fa9c10baddb969640e943e1c95ce40bda Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Fri, 31 Oct 2014 17:13:06 +0100 Subject: fixed style issue --- jsonrpc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit