Trait SignStaticInvoiceFn

Source
pub trait SignStaticInvoiceFn {
    // Required method
    fn sign_invoice(
        &self,
        message: &UnsignedStaticInvoice,
    ) -> Result<Signature, ()>;
}
Expand description

A function for signing an UnsignedStaticInvoice.

Required Methods§

Source

fn sign_invoice(&self, message: &UnsignedStaticInvoice) -> Result<Signature, ()>

Signs a TaggedHash computed over the merkle root of message’s TLV stream.

Implementors§