mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 01:36:24 +01:00
watchtower: fix linter errors
This commit is contained in:
parent
9bdc1dc2f2
commit
00001e7dad
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
|
||||
|
|
Loading…
Add table
Reference in a new issue