mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 18:55:49 +00:00
Compare commits
1 Commits
boost186
...
minor_fixe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99b70c58b5 |
@@ -302,6 +302,13 @@ GenesisMint::doApply()
|
||||
|
||||
bool const firstOccurance = mints.find(id) == mints.end();
|
||||
|
||||
if (dropsAdded + toCredit < dropsAdded)
|
||||
{
|
||||
JLOG(ctx_.journal.warn()) << "GenesisMint: cannot credit " << id
|
||||
<< " due to dropsAdded overflow";
|
||||
return tecINTERNAL;
|
||||
}
|
||||
|
||||
dropsAdded += toCredit;
|
||||
|
||||
// if flags / marks appear more than once we just take the first
|
||||
|
||||
Reference in New Issue
Block a user