Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd committed Jan 13, 2024
1 parent e2469ad commit 10611c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class CoreWallet {
}


get xprv () {
get xprv () : Promise<string> {
return new Promise(async res => {
const xprvs = await this.xprvs
const wpkh = xprvs.find(e => e.keytype === 'wpkh')
Expand All @@ -128,7 +128,7 @@ export class CoreWallet {
})
}

get xpub () {
get xpub () : Promise<string> {
return new Promise(async res => {
const xpubs = await this.xpubs
const wpkh = xpubs.find(e => e.keytype === 'wpkh')
Expand Down

0 comments on commit 10611c0

Please sign in to comment.