pub trait SignStaticInvoiceFn {
// Required method
fn sign_invoice(
&self,
message: &UnsignedStaticInvoice,
) -> Result<Signature, ()>;
}Expand description
A function for signing an UnsignedStaticInvoice.
Required Methods§
Sourcefn sign_invoice(&self, message: &UnsignedStaticInvoice) -> Result<Signature, ()>
fn sign_invoice(&self, message: &UnsignedStaticInvoice) -> Result<Signature, ()>
Signs a TaggedHash computed over the merkle root of message’s TLV stream.