Skip to content

Commit

Permalink
update electra testnet coin indexe
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnetwork committed Dec 4, 2024
1 parent 1153595 commit 7f2d4a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/bip/bip/conf/bip44/bip44_conf.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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!
},
);
}
2 changes: 1 addition & 1 deletion lib/bip/bip/conf/bip49/bip49_conf.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7f2d4a9

Please sign in to comment.