diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-01-26 20:52:57 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-03-24 10:28:40 +0100 |
commit | 1090502c3e90f3f24fdc6c1e74f62d7669697b31 (patch) | |
tree | a07502ec24d9c5451056ffb2c628850e7ee0d3c9 /src/wallet | |
parent | 58e148333eb4b7ad87154a8b4d45ff0ebc3c9591 (diff) |
Fix superfluous cast and code style nits in RPC wallet-hd.py test
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 62aefc4bc2..c715da8e9f 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2438,7 +2438,8 @@ UniValue getwalletinfo(const JSONRPCRequest& request) LOCK2(cs_main, pwallet->cs_wallet); UniValue obj(UniValue::VOBJ); - size_t kpExternalSize = (int)pwallet->KeypoolCountExternalKeys(); + + size_t kpExternalSize = pwalletMain->KeypoolCountExternalKeys(); obj.push_back(Pair("walletversion", pwallet->GetVersion())); obj.push_back(Pair("balance", ValueFromAmount(pwallet->GetBalance()))); obj.push_back(Pair("unconfirmed_balance", ValueFromAmount(pwallet->GetUnconfirmedBalance()))); |