mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
channeldb: include extra data in htlc clone function
This commit is contained in:
parent
e4f90ec593
commit
7596e764ac
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user