From: shuoer86 <129674997+shuoer86@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:46:26 +0000 (+0800) Subject: Fix typo lightning-invoice/src/ser.rs X-Git-Tag: v0.0.120~6^2~3 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8cd48060d77ec6adc36acb910a12c2e8974998c5;p=rust-lightning Fix typo lightning-invoice/src/ser.rs --- diff --git a/lightning-invoice/src/ser.rs b/lightning-invoice/src/ser.rs index fe42f72b6..dc63783bf 100644 --- a/lightning-invoice/src/ser.rs +++ b/lightning-invoice/src/ser.rs @@ -52,7 +52,7 @@ impl<'a, W: WriteBase32> BytesToBase32<'a, W> { } // Combine all bits from buffer with enough bits from this rounds byte so that they fill - // a u5. Save reamining bits from byte to buffer. + // a u5. Save remaining bits from byte to buffer. let from_buffer = self.buffer >> 3; let from_byte = byte >> (3 + self.buffer_bits); // buffer_bits <= 4