Commit graph

1 commit

Author SHA1 Message Date
ziggie
b720fd5cd5
chanstate: fix htlc copy
Copy all HTLC fields when cloning channel commitment state.

The old copy method only copied a subset of scalar fields and copied
into nil slices for Signature and ExtraData. Allocate those slices and
deep-copy custom record values so snapshots and channel copies retain
complete HTLC metadata.
2026-07-06 15:51:20 -03:00