nip60: expose GetSatoshisAmountFromBolt11() helper.

This commit is contained in:
fiatjaf
2025-02-05 13:20:41 -03:00
parent 26da7967dc
commit 0330c198fb
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ func (w *Wallet) PayBolt11(ctx context.Context, invoice string, opts ...SendOpti
opt(ss)
}
invoiceAmount, err := getSatoshisAmountFromBolt11(invoice)
invoiceAmount, err := GetSatoshisAmountFromBolt11(invoice)
if err != nil {
return "", err
}