Update packages/xrpl/src/sugar/autofill.ts

Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
pdp2121
2023-06-01 17:20:34 -04:00
committed by GitHub
parent 7f078b6a3b
commit f6d26bf0b7

View File

@@ -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