diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-03-28 09:18:20 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-03-28 09:18:20 +0200 |
commit | 4115af7ac78971617c4fb80b7db336ff6bf254db (patch) | |
tree | dd48e792fae1466201f15bea038bb720437a6a1e /src/wallet/rpcwallet.cpp | |
parent | 9382f0425e87b30e4621e0e23a99d6e880ec2200 (diff) |
Fix rebase issue where pwalletMain was used instead of pwallet
Ser./Deser. nInternalChainCounter as last element
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index c715da8e9f..22b1e3522c 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2439,7 +2439,7 @@ UniValue getwalletinfo(const JSONRPCRequest& request) UniValue obj(UniValue::VOBJ); - size_t kpExternalSize = pwalletMain->KeypoolCountExternalKeys(); + size_t kpExternalSize = pwallet->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()))); |