From 7f2d4a946c1484042ff12eaeb6e97b0a2f6ffd8f Mon Sep 17 00:00:00 2001 From: Mohsen Date: Wed, 4 Dec 2024 18:19:05 +0330 Subject: [PATCH] update electra testnet coin indexe --- lib/bip/bip/conf/bip44/bip44_conf.dart | 4 ++-- lib/bip/bip/conf/bip49/bip49_conf.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bip/bip/conf/bip44/bip44_conf.dart b/lib/bip/bip/conf/bip44/bip44_conf.dart index ce8ef61..1c445b4 100644 --- a/lib/bip/bip/conf/bip44/bip44_conf.dart +++ b/lib/bip/bip/conf/bip44/bip44_conf.dart @@ -1442,7 +1442,7 @@ class Bip44Conf { /// Configuration for Electra Protocol test net static final BipCoinConfig electraProtocolTestNet = BipCoinConfig( coinNames: CoinsConf.electraProtocolTestNet.coinName, - coinIdx: Slip44.electraProtocol, + coinIdx: Slip44.testnet, isTestnet: true, defPath: derPathNonHardenedFull, keyNetVer: Bip32KeyNetVersions( @@ -1453,7 +1453,7 @@ class Bip44Conf { type: EllipticCurveTypes.secp256k1, addressEncoder: ([dynamic kwargs]) => P2PKHAddrEncoder(), addrParams: { - "net_ver": CoinsConf.electraProtocolTestNet.params.p2pkhNetVer!, + "net_ver": CoinsConf.electraProtocolTestNet.params.p2pkhNetVer! }, ); } diff --git a/lib/bip/bip/conf/bip49/bip49_conf.dart b/lib/bip/bip/conf/bip49/bip49_conf.dart index 06801c7..459b78b 100644 --- a/lib/bip/bip/conf/bip49/bip49_conf.dart +++ b/lib/bip/bip/conf/bip49/bip49_conf.dart @@ -432,7 +432,7 @@ class Bip49Conf { /// Configuration for Electra Protocol test net static final BipCoinConfig electraProtocolTestNet = BipCoinConfig( coinNames: CoinsConf.electraProtocolTestNet.coinName, - coinIdx: Slip44.electraProtocol, + coinIdx: Slip44.testnet, isTestnet: true, defPath: derPathNonHardenedFull, keyNetVer: Bip32KeyNetVersions(