|
|
|
@ -2439,7 +2439,7 @@ UniValue getwalletinfo(const JSONRPCRequest& request)
@@ -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()))); |
|
|
|
|