diff --git a/src/masternodes/rpc_accounts.cpp b/src/masternodes/rpc_accounts.cpp index dad44027726..1137dc60468 100644 --- a/src/masternodes/rpc_accounts.cpp +++ b/src/masternodes/rpc_accounts.cpp @@ -1123,7 +1123,7 @@ UniValue listaccounthistory(const JSONRPCRequest& request) { } // starting new account - if (lastOwner != key.owner) { + if (account.empty() && lastOwner != key.owner) { view.Discard(); lastOwner = key.owner; lastHeight = maxBlockHeight + 1;