diff --git a/apps/browser-extension-wallet/src/lib/wallet-api-ui.ts b/apps/browser-extension-wallet/src/lib/wallet-api-ui.ts index 8be089ff0..229b7a0cf 100644 --- a/apps/browser-extension-wallet/src/lib/wallet-api-ui.ts +++ b/apps/browser-extension-wallet/src/lib/wallet-api-ui.ts @@ -71,9 +71,9 @@ export const withSignTxConfirmation = async (action: () => Promise, passwo throw new TypeError('Invalid state: expected password for in-memory wallet'); } const passphrase = Buffer.from(password, 'utf8'); - req.sign(passphrase); + await req.sign(passphrase); } else { - req.sign(); + await req.sign(); } } catch { // nothing to do here, the error