From fb6627300db0f77c3df0616a09611def0e9fbcb5 Mon Sep 17 00:00:00 2001 From: elnosh Date: Thu, 10 Oct 2024 17:30:45 -0500 Subject: [PATCH] fix: use proper mint url in melt --- wallet/wallet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/wallet.go b/wallet/wallet.go index 50e605a..34a9c15 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -722,7 +722,7 @@ func (w *Wallet) Melt(invoice string, mintURL string) (*nut05.PostMeltQuoteBolt1 return nil, err } - activeKeyset, err := w.getActiveSatKeyset(w.currentMint.mintURL) + activeKeyset, err := w.getActiveSatKeyset(selectedMint.mintURL) if err != nil { return nil, fmt.Errorf("error getting active sat keyset: %v", err) }