watchtower: fix linter errors
This commit is contained in:
parent
9bdc1dc2f2
commit
00001e7dad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user