Skip to content

Commit

Permalink
Check depth on lambda return
Browse files Browse the repository at this point in the history
  • Loading branch information
dcorral committed Dec 3, 2021
1 parent 6879367 commit fc021e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternodes/rpc_masternodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ UniValue getmasternodeblocks(const JSONRPCRequest& request) {
depth--;
}

return true;
return depth != 0;
};

pcustomcsview->ForEachSubNode([&](const SubNodeBlockTimeKey &key, CLazySerialize<int64_t>){
Expand Down

0 comments on commit fc021e1

Please sign in to comment.