const LEDGER_BUMP: u32 = 535_679; is commented as "~31 days at 5s/ledger." The exact math is 31 * 24 * 3600 / 5 = 535_680, one more than the value actually used. The constant and its explanatory comment disagree by a single ledger.
Suggested fix: Update the constant to 535_680 to exactly match the stated 31-day/5s-per-ledger derivation.
const LEDGER_BUMP: u32 = 535_679;is commented as "~31 days at 5s/ledger." The exact math is31 * 24 * 3600 / 5 = 535_680, one more than the value actually used. The constant and its explanatory comment disagree by a single ledger.Suggested fix: Update the constant to
535_680to exactly match the stated 31-day/5s-per-ledger derivation.