contractcourt+itest: make sure ChannelArbitrator has the latest htlcs
This commit is contained in:
3 files changed
+7
-6
No files matched your search
@@ -1287,6 +1287,10 @@ func (c *ChainArbitrator) FindOutgoingHTLCDeadline(scid lnwire.ShortChannelID,
|
||||
continue
|
||||
}
|
||||
|
||||
// Make sure the channel arbitrator has the latest view of its
|
||||
// active HTLCs.
|
||||
channelArb.updateActiveHTLCs()
|
||||
|
||||
// Iterate all the known HTLCs to find the targeted incoming
|
||||
// HTLC.
|
||||
for _, htlcs := range channelArb.activeHTLCs {
|
||||
|
||||
Reference in new issue
Block a user