Expose a BOLT 11 Invoice's signable_hash
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 6 Apr 2023 14:47:45 +0000 (09:47 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 7 Apr 2023 04:15:25 +0000 (23:15 -0500)
commit821c79da981a708f1a767d762f50db820e04444a
tree1a046508b1ed0f749f391ba827022ab784514bfa
parent854d650b5b67821b006a780b2f770be5bbb3ef0a
Expose a BOLT 11 Invoice's signable_hash

Otherwise, an Invoice must first be converted to a SignedRawInvoice to
obtain the hash.
lightning-invoice/src/lib.rs