Skip to content

Commit

Permalink
fix: use proper mint url in melt
Browse files Browse the repository at this point in the history
  • Loading branch information
elnosh committed Oct 10, 2024
1 parent eb21c68 commit fb66273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit fb66273

Please sign in to comment.