channeldb: include extra data in htlc clone function

This commit is contained in:
Carla Kirk-Cohen 2023-11-03 15:42:00 -04:00
parent e4f90ec593
commit 7596e764ac
No known key found for this signature in database
GPG Key ID: 4CA7FE54A6213C91

View File

@ -2440,6 +2440,7 @@ func (h *HTLC) Copy() HTLC {
}
copy(clone.Signature[:], h.Signature)
copy(clone.RHash[:], h.RHash[:])
copy(clone.ExtraData, h.ExtraData)
return clone
}