lnwire: remove FundingKey from DynPropose and DynCommit

This commit is contained in:
Keagan McClelland authored and yyforyongyu committed 2025-06-25 02:08:56 +08:00
1 parent cbca5b1152
commit f40530e4f4
3 files changed
+2 -59

No files matched your search

-5
View File
@@ -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))
}