Update reward.c hook (#111)

* fix include

* fix include

* update invariant

* update comment

* Update reward.c

* Update reward.c

* Update reward.c
This commit is contained in:
Denis Angell
2023-09-25 11:46:40 +02:00
committed by GitHub
parent 87c6c2d3c0
commit e44eeec631
5 changed files with 17 additions and 12 deletions

View File

@@ -217,7 +217,7 @@ XRPNotCreated::finalize(
int64_t drops = dropsAdded.drops() - fee.drops();
// catch any overflow or funny business
if (drops > dropsAdded.drops() || drops > fee.drops())
if (drops > dropsAdded.drops())
return false;
// We should never allow more than the max supply in totalCoins.