Skip to content

Commit

Permalink
Fix new regression (#876)
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Fieroni <[email protected]>

Co-authored-by: Prasanna Loganathar <[email protected]>
  • Loading branch information
bvbfan and prasannavl authored Nov 8, 2021
1 parent 50a0327 commit 88ef375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternodes/rpc_accounts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 88ef375

Please sign in to comment.