nip60: fix spending conditions over SendExternal() and SendInternal()

This commit is contained in:
fiatjaf
2025-05-06 16:24:51 -03:00
parent a58015b3e9
commit 93745cafff
6 changed files with 121 additions and 69 deletions

View File

@@ -34,5 +34,5 @@ func (w *Wallet) SendExternal(
return nil, err
}
return redeemMinted(ctx, mint, mintResp.Quote, targetAmount)
return redeemMinted(ctx, mint, mintResp.Quote, targetAmount, opts.asSpendingCondition(w.PublicKey))
}