htlcswitch: add set of tests for the forwarding log

This commit is contained in:
Olaoluwa Osuntokun
2018-02-27 22:19:21 -08:00
parent ad522a72c1
commit 473dfd115b
4 changed files with 210 additions and 14 deletions

View File

@@ -683,6 +683,8 @@ out:
// carried out by the remote peer. In the case of such an
// event, we'll wipe the channel state from the peer, and mark
// the contract as fully settled. Afterwards we can exit.
//
// TODO(roasbeef): add force closure? also breach?
case <-l.cfg.ChainEvents.UnilateralClosure:
log.Warnf("Remote peer has closed ChannelPoint(%v) on-chain",
l.channel.ChannelPoint())