Skip to main content

invoice_preimage_hex

Function invoice_preimage_hex 

Source
fn invoice_preimage_hex(invoice: &Invoice) -> Option<String>
Expand description

The hex preimage of an LND invoice, if LND knows it. A HOLD invoice has no preimage until it is settled, so r_preimage is empty while one is pending or after it was canceled.