Skip to content

Commit ee4be4f

Browse files
committed
f - fix docs
1 parent e26c095 commit ee4be4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/offers/static_invoice.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ impl<'a> StaticInvoiceBuilder<'a> {
130130
Ok(Self { offer_bytes: &offer.bytes, invoice, keys })
131131
}
132132

133-
/// Builds a signed [`StaticInvoice`] after checking for valid semantics.
133+
/// Builds an [`UnsignedStaticInvoice`] after checking for valid semantics, returning it along with
134+
/// the [`Keypair`] needed to sign it.
134135
pub fn build(self) -> Result<(UnsignedStaticInvoice, Keypair), Bolt12SemanticError> {
135136
#[cfg(feature = "std")]
136137
{

0 commit comments

Comments
 (0)