mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-29 18:10:48 +02:00
lnwallet: remove unused field PendingHTLCs
This commit is contained in:
@ -2231,10 +2231,6 @@ type BreachRetribution struct {
|
|||||||
// RevokedStateNum is the revoked state number which was broadcast.
|
// RevokedStateNum is the revoked state number which was broadcast.
|
||||||
RevokedStateNum uint64
|
RevokedStateNum uint64
|
||||||
|
|
||||||
// PendingHTLCs is a slice of the HTLCs which were pending at this
|
|
||||||
// point within the channel's history transcript.
|
|
||||||
PendingHTLCs []channeldb.HTLC
|
|
||||||
|
|
||||||
// LocalOutputSignDesc is a SignDescriptor which is capable of
|
// LocalOutputSignDesc is a SignDescriptor which is capable of
|
||||||
// generating the signature necessary to sweep the output within the
|
// generating the signature necessary to sweep the output within the
|
||||||
// BreachTransaction that pays directly us.
|
// BreachTransaction that pays directly us.
|
||||||
@ -2466,7 +2462,6 @@ func NewBreachRetribution(chanState *channeldb.OpenChannel, stateNum uint64,
|
|||||||
BreachTransaction: revokedSnapshot.CommitTx,
|
BreachTransaction: revokedSnapshot.CommitTx,
|
||||||
BreachHeight: breachHeight,
|
BreachHeight: breachHeight,
|
||||||
RevokedStateNum: stateNum,
|
RevokedStateNum: stateNum,
|
||||||
PendingHTLCs: revokedSnapshot.Htlcs,
|
|
||||||
LocalOutpoint: ourOutpoint,
|
LocalOutpoint: ourOutpoint,
|
||||||
LocalOutputSignDesc: ourSignDesc,
|
LocalOutputSignDesc: ourSignDesc,
|
||||||
LocalDelay: ourDelay,
|
LocalDelay: ourDelay,
|
||||||
|
Reference in New Issue
Block a user