mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-19 02:26:34 +01:00
nip60: expose GetSatoshisAmountFromBolt11() helper.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user