mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
lnwire: patch test and fix extra data in DynCommit
This commit is contained in:
@@ -1025,10 +1025,7 @@ func (dc *DynCommit) RandTestMessage(t *rapid.T) Message {
|
||||
DynAck: *da,
|
||||
}
|
||||
|
||||
extraData := RandExtraOpaqueData(t, ignoreRecords)
|
||||
if len(extraData) > 0 {
|
||||
msg.ExtraData = extraData
|
||||
}
|
||||
msg.ExtraData = RandExtraOpaqueData(t, ignoreRecords)
|
||||
|
||||
return msg
|
||||
}
|
||||
|
Reference in New Issue
Block a user