From 10611c08b38c6888850b8d6c060b28e4f3ebf019 Mon Sep 17 00:00:00 2001 From: cmd Date: Sat, 13 Jan 2024 14:43:01 -0600 Subject: [PATCH] update --- src/lib/wallet.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/wallet.ts b/src/lib/wallet.ts index d187961..d27d1b8 100644 --- a/src/lib/wallet.ts +++ b/src/lib/wallet.ts @@ -117,7 +117,7 @@ export class CoreWallet { } - get xprv () { + get xprv () : Promise { return new Promise(async res => { const xprvs = await this.xprvs const wpkh = xprvs.find(e => e.keytype === 'wpkh') @@ -128,7 +128,7 @@ export class CoreWallet { }) } - get xpub () { + get xpub () : Promise { return new Promise(async res => { const xpubs = await this.xpubs const wpkh = xpubs.find(e => e.keytype === 'wpkh')