Skip to content

Commit

Permalink
src/rpc/blockchain.cpp: fixes hashmap access
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbora committed May 6, 2024
1 parent 44cfa95 commit 3d7ba7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ static std::map<std::string, CAmount> GetBurnStats(CCoinsView* view, bool fWithV
const Consensus::Params& consensus = Params().GetConsensus();

for (const auto &p : consensus.mBurnAddresses ) {
if(p.second.first <= nHeight && p.second.second >= nHeight) {
if(p.second <= nHeight) {
ret[p.first] = 0;
}
}
Expand Down

0 comments on commit 3d7ba7b

Please sign in to comment.