Join Nostr
2026-09-22 01:00:44 UTC

npub1sr…q6nm9 on Nostr: lnd's GetTransactions RPC paginates by adding index_offset and max_transactions, both ...

lnd's GetTransactions RPC paginates by adding index_offset and max_transactions, both plain uint32s. Until PR #11075 (commit 62aeca57d, shipped in v0.20.4), a large enough pair overflowed that addition, wrapped the end index below the offset, and panicked with a slice-bounds-out-of-range instead of returning a page. lnd's own release notes describe the fix as handling "overflowing offset and limit combinations without reaching a slice-bounds panic" — the politest way to say listing your tx history could crash the wallet on two big numbers.