fix ledger header update

This commit is contained in:
Richard Holland
2023-08-15 10:19:44 +00:00
parent 8e28f74b5d
commit b19feb4dd4

View File

@@ -1262,9 +1262,8 @@ Import::doApply()
// update the ledger header // update the ledger header
XRPAmount totalBurn = STAmount added = finalBal - startBal;
XRPAmount{(burn.xrp() + (create ? bonusAmount : beast::zero))}; ctx_.rawView().rawDestroyXRP(-added.xrp());
ctx_.rawView().rawDestroyXRP(-totalBurn);
return tesSUCCESS; return tesSUCCESS;
} }