Skip to content

Commit bd5563f

Browse files
committed
fixup: add missing assert for CreditPool
1 parent dfcbad7 commit bd5563f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/evo/creditpool.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ CCreditPoolDiff::CCreditPoolDiff(CCreditPool starter, const CBlockIndex *pindex,
251251
}
252252

253253
void CCreditPoolDiff::addRewardRealloced(const CAmount reward) {
254+
assert(MoneyRange(reward));
254255
masternodeReward += reward;
255256
}
256257

0 commit comments

Comments
 (0)