mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
fix ledger header update
This commit is contained in:
@@ -1262,9 +1262,8 @@ Import::doApply()
|
||||
|
||||
|
||||
// update the ledger header
|
||||
XRPAmount totalBurn =
|
||||
XRPAmount{(burn.xrp() + (create ? bonusAmount : beast::zero))};
|
||||
ctx_.rawView().rawDestroyXRP(-totalBurn);
|
||||
STAmount added = finalBal - startBal;
|
||||
ctx_.rawView().rawDestroyXRP(-added.xrp());
|
||||
|
||||
return tesSUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user