Skip to content

Commit

Permalink
chore: wala test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChandlerFerry committed Nov 2, 2024
1 parent b999547 commit da6108c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wallet/address-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit da6108c

Please sign in to comment.