make import starting bonus based on fee object where it exists. compiling not tested. this is the final feature going in, feature freeze at this commit.

This commit is contained in:
Richard Holland
2023-07-17 09:04:02 +00:00
parent d0295da992
commit 53a7408f18
4 changed files with 72 additions and 24 deletions

View File

@@ -169,7 +169,7 @@ XRPNotCreated::finalize(
: beast::zero; // if the txn didnt burn a fee we add nothing
if (accountsCreated_ == 1)
dropsAdded += Import::INITIAL_IMPORT_XRP; // welcome amount for new imports
dropsAdded += Import::computeStartingBonus(view);
JLOG(j.trace())
<< "Invariant XRPNotCreated Import: "