watchtower: fix linter errors

This commit is contained in:
Olaoluwa Osuntokun 2018-11-29 21:25:53 -08:00
parent 9bdc1dc2f2
commit 00001e7dad
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2
2 changed files with 2 additions and 2 deletions

@ -134,7 +134,7 @@ func (l *Lookout) watchBlocks(epochs *chainntnfs.BlockEpochEvent) {
// that we are monitoring on behalf of our clients.
err = l.processEpoch(epoch, block)
if err != nil {
log.Errorf("Unable to process %s: %v",
log.Errorf("Unable to process %v: %v",
epoch, err)
}

@ -45,7 +45,7 @@ func (p *BreachPunisher) Punish(desc *JusticeDescriptor, quit <-chan struct{}) e
err = p.cfg.PublishTx(justiceTxn)
if err != nil && err != lnwallet.ErrDoubleSpend {
log.Errorf("Unable to publish justice txn for client=%s",
log.Errorf("Unable to publish justice txn for client=%s"+
"with breach-txid=%x: %v",
desc.SessionInfo.ID, desc.BreachedCommitTx.TxHash(), err)
return err