mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-06 04:59:34 +02: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…
x
Reference in New Issue
Block a user