pub(crate) fn invoice_millisats(invoice: &str) -> Option<u64>Expand description
What a Lightning invoice asks for, in millisats, read from the amount
in its human-readable part: lnbc2500u1… is 2500 micro-bitcoin. None
for an invoice that names no amount, or isn’t one.