common changes

This commit is contained in:
Marek Kotewicz 2014-10-14 01:21:52 +02:00
parent 074d0a7c90
commit 9d1f544347

View File

@ -50,15 +50,15 @@ struct JsonrpcFixture {
cnote << "teardown jsonrpc";
}
};
BOOST_GLOBAL_FIXTURE(JsonrpcFixture)
BOOST_AUTO_TEST_CASE(jsonrpc_balanceAt)
{
cnote << "Testing jsonrpc balanceAt...";
dev::KeyPair pair = keys[0];
// string balance = jsonrpcClient->balanceAt(toJS(pair.address()));
auto address = keys[0].address();
string balance = jsonrpcClient->balanceAt(toJS(address), 0);
BOOST_CHECK_EQUAL(jsToDecimal(toJS(web3.ethereum()->balanceAt(address))), balance);
}
BOOST_AUTO_TEST_CASE(jsonrpc_block)