lnwire: remove FundingKey from DynPropose and DynCommit
This commit is contained in:
1 parent
cbca5b1152
commit
f40530e4f4
3 files changed
+2
-59
No files matched your search
@@ -829,7 +829,6 @@ func (dp *DynPropose) RandTestMessage(t *rapid.T) Message {
|
||||
includeMaxAcceptedHTLCs := rapid.Bool().Draw(
|
||||
t, "includeMaxAcceptedHTLCs",
|
||||
)
|
||||
includeFundingKey := rapid.Bool().Draw(t, "includeFundingKey")
|
||||
includeChannelType := rapid.Bool().Draw(t, "includeChannelType")
|
||||
|
||||
// Generate random values for each included field
|
||||
@@ -858,10 +857,6 @@ func (dp *DynPropose) RandTestMessage(t *rapid.T) Message {
|
||||
msg.MaxAcceptedHTLCs = fn.Some(mah)
|
||||
}
|
||||
|
||||
if includeFundingKey {
|
||||
msg.FundingKey = fn.Some(*RandPubKey(t))
|
||||
}
|
||||
|
||||
if includeChannelType {
|
||||
msg.ChannelType = fn.Some(*RandChannelType(t))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user