Skip to content

Commit

Permalink
fix(ordit): wallet not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
thedoublejay committed Jan 24, 2025
1 parent e350549 commit 10e84bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/sdk/src/wallet/Ordit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const bip32 = BIP32Factory(ecc)
export class Ordit {
chain: Chain = "bitcoin"

#network: Network = "testnet"
#network: Network = "signet"
// #config;
#initialized = false
#keyPair: ECPairInterface | BIP32Interface
Expand All @@ -46,7 +46,7 @@ export class Ordit {
seed,
privateKey,
bip39,
network = "testnet",
network = "signet",
type = "legacy",
account = 0,
addressIndex = 0,
Expand All @@ -55,6 +55,7 @@ export class Ordit {
this.chain = chain
const networkObj = getNetwork(network)
const format = addressNameToType[type]
this.#network = network;

if (wif) {
const keyPair = ECPair.fromWIF(wif, networkObj)
Expand Down

0 comments on commit 10e84bd

Please sign in to comment.