From 8cd48060d77ec6adc36acb910a12c2e8974998c5 Mon Sep 17 00:00:00 2001 From: shuoer86 <129674997+shuoer86@users.noreply.github.com> Date: Fri, 12 Jan 2024 20:46:26 +0800 Subject: [PATCH] Fix typo lightning-invoice/src/ser.rs --- lightning-invoice/src/ser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5