]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix typo lightning-invoice/src/ser.rs
authorshuoer86 <129674997+shuoer86@users.noreply.github.com>
Fri, 12 Jan 2024 12:46:26 +0000 (20:46 +0800)
committershuoer86 <129674997+shuoer86@users.noreply.github.com>
Fri, 12 Jan 2024 12:46:26 +0000 (20:46 +0800)
lightning-invoice/src/ser.rs

index fe42f72b6532f593083049832a07f31272cd43a5..dc63783bfa388fc35f7394d8cc243471683df99e 100644 (file)
@@ -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