Skip to content

Commit

Permalink
declare sendProofs for the catch{} block
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed May 25, 2024
1 parent 138e5c4 commit e4790ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stores/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ export const useWalletStore = defineStore("wallet", {
amount
);
this.payInvoiceData.blocking = true;
let sendProofs: Proof[] = [];
try {
const { keepProofs, sendProofs } = await this.splitToSend(
mintStore.activeMint().unitProofs(mintStore.activeUnit),
Expand Down

0 comments on commit e4790ac

Please sign in to comment.