Compare commits

..

4 Commits

Author SHA1 Message Date
Richard Holland
5952361b81 good/bad netid tests 2024-11-22 14:32:34 +11:00
Richard Holland
929e8b2200 fix/add tests 2024-11-22 14:23:21 +11:00
Richard Holland
81041c8b28 fix test failures 2024-11-22 14:02:11 +11:00
Richard Holland
f0429602ce limit where xahaugenesis is deployed 2024-11-22 11:42:13 +11:00
2 changed files with 5 additions and 2 deletions

View File

@@ -67,5 +67,5 @@ git-subtree. See those directories' README files for more details.
- [explorer.xahau.network](https://explorer.xahau.network)
- **Testnet & Faucet**: Test applications and obtain test XAH at [xahau-test.net](https://xahau-test.net) and use the testnet explorer at [explorer.xahau.network](https://explorer.xahau.network).
- **Supporting Wallets**: A list of wallets that support XAH and Xahau-based assets.
- [Xaman](https://xaman.app)
- [Xumm](https://xumm.app)
- [Crossmark](https://crossmark.io)

View File

@@ -710,7 +710,10 @@ Shard::finalize(bool writeSQLite, std::optional<uint256> const& referenceHash)
if (writeSQLite && !storeSQLite(ledger))
return fail("failed storing to SQLite databases");
assert(ledger->info().seq == ledgerSeq && ledger->read(keylet::fees()));
assert(
ledger->info().seq == ledgerSeq &&
(ledger->info().seq < XRP_LEDGER_EARLIEST_FEES ||
ledger->read(keylet::fees())));
hash = ledger->info().parentHash;
next = std::move(ledger);