From f6d26bf0b7a472c08f8366392548dcac96e23a23 Mon Sep 17 00:00:00 2001 From: pdp2121 <71317875+pdp2121@users.noreply.github.com> Date: Thu, 1 Jun 2023 17:20:34 -0400 Subject: [PATCH] Update packages/xrpl/src/sugar/autofill.ts Co-authored-by: Jackson Mills --- packages/xrpl/src/sugar/autofill.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/xrpl/src/sugar/autofill.ts b/packages/xrpl/src/sugar/autofill.ts index a46523ce..2985e68c 100644 --- a/packages/xrpl/src/sugar/autofill.ts +++ b/packages/xrpl/src/sugar/autofill.ts @@ -12,6 +12,8 @@ import getFeeXrp from './getFeeXrp' // Expire unconfirmed transactions after 20 ledger versions, approximately 1 minute, by default const LEDGER_OFFSET = 20 +// Sidechains are expected to have network IDs above this. +// Mainnet and testnet are exceptions. More context: https://github.com/XRPLF/rippled/pull/4370 const RESTRICTED_NETWORKS = 1024 const REQUIRED_NETWORKID_VERSION = '1.11.0' const HOOKS_TESTNET_ID = 21338