mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user