mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
ZeroB2M amendment (#293)
* ZeroB2M amendment Co-authored-by: Denis Angell <dangell@transia.co>
This commit is contained in:
@@ -1224,7 +1224,13 @@ Import::doApply()
|
||||
create ? STAmount(bonusAmount) : STAmount(mSourceBalance);
|
||||
|
||||
uint64_t creditDrops = burn.xrp().drops();
|
||||
if (elapsed < 2'000'000)
|
||||
|
||||
if (view().rules().enabled(featureZeroB2M))
|
||||
{
|
||||
// B2M xrp is disabled by amendment
|
||||
creditDrops = 0;
|
||||
}
|
||||
else if (elapsed < 2'000'000)
|
||||
{
|
||||
// first 2MM ledgers
|
||||
// the ratio is 1:1
|
||||
|
||||
Reference in New Issue
Block a user