multi: set the InboundFee on ChannelEdgePolicy

In this commit, we make sure to set the new field wherever appropriate.
This will be any place where the ChannelEdgePolicy is constructed other
than its disk deserialisation.
This commit is contained in:
Elle Mouton committed 2025-06-09 08:31:10 +02:00
1 parent 1d162216e6
commit 9890d74622
4 files changed
+47 -7

No files matched your search

+1
View File
@@ -121,6 +121,7 @@ func randEdgePolicy(chanID *lnwire.ShortChannelID,
FeeBaseMSat: lnwire.MilliSatoshi(prand.Int31()),
FeeProportionalMillionths: lnwire.MilliSatoshi(prand.Int31()),
ToNode: node.PubKeyBytes,
InboundFee: fn.Some(inboundFee),
ExtraOpaqueData: extraOpaqueData,
}, nil
}