We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e26c095 commit ee4be4fCopy full SHA for ee4be4f
lightning/src/offers/static_invoice.rs
@@ -130,7 +130,8 @@ impl<'a> StaticInvoiceBuilder<'a> {
130
Ok(Self { offer_bytes: &offer.bytes, invoice, keys })
131
}
132
133
- /// Builds a signed [`StaticInvoice`] after checking for valid semantics.
+ /// Builds an [`UnsignedStaticInvoice`] after checking for valid semantics, returning it along with
134
+ /// the [`Keypair`] needed to sign it.
135
pub fn build(self) -> Result<(UnsignedStaticInvoice, Keypair), Bolt12SemanticError> {
136
#[cfg(feature = "std")]
137
{
0 commit comments