mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed style issue
This commit is contained in:
parent
53b422c64a
commit
d645388fa9
@ -125,7 +125,8 @@ BOOST_AUTO_TEST_CASE(jsonrpc_accounts)
|
|||||||
BOOST_CHECK_EQUAL(k.size(), keys.size());
|
BOOST_CHECK_EQUAL(k.size(), keys.size());
|
||||||
for (auto &i:k)
|
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();
|
return jsToAddress(i.asString()) == keyPair.address();
|
||||||
});
|
});
|
||||||
BOOST_CHECK_EQUAL(it != keys.end(), true);
|
BOOST_CHECK_EQUAL(it != keys.end(), true);
|
||||||
|
Loading…
Reference in New Issue
Block a user