diff --git a/src/wallet/address-manager.ts b/src/wallet/address-manager.ts index 752a446..614984b 100644 --- a/src/wallet/address-manager.ts +++ b/src/wallet/address-manager.ts @@ -133,7 +133,7 @@ export class AddressManager extends EventTargetImpl { } { //let ts0 = Date.now(); const dType = deriveType === 'receive' ? 0 : 1; - const {privateKey} = this.HDWallet.deriveChild(`m/44'/972/0'/${dType}'/${index}'`); + const {privateKey} = this.HDWallet.deriveChild(`m/44'/111111/0'/${dType}'/${index}'`); //let ts1 = Date.now(); //let publicKeys = secp256k1.export_public_keys(privateKey.toString()); const xonlyPubKey = secp256k1.export_public_key_xonly(privateKey.toString()); diff --git a/src/wallet/wallet.ts b/src/wallet/wallet.ts index 492fdba..fb016ad 100644 --- a/src/wallet/wallet.ts +++ b/src/wallet/wallet.ts @@ -267,7 +267,7 @@ class Wallet extends EventTargetImpl { } createUID(){ - const {privateKey} = this.HDWallet.deriveChild(`m/44'/972/0'/1'/0'`); + const {privateKey} = this.HDWallet.deriveChild(`m/44'/111111/0'/1'/0'`); let address = privateKey.toAddress(this.network).toString().split(":")[1] return helper.createHash(address); }