mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
staticaddr: fix logs, use %v not %w in logs
This commit is contained in:
parent
125d83f760
commit
4e4390416b
3 changed files with 4 additions and 4 deletions
|
|
@ -232,7 +232,7 @@ func (f *FSM) handleBlockNotification(ctx context.Context,
|
|||
err := f.SendEvent(ctx, OnExpiry, nil)
|
||||
if err != nil {
|
||||
log.Debugf("error sending OnExpiry "+
|
||||
"event: %w", err)
|
||||
"event: %v", err)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ func (f *FSM) InitHtlcAction(ctx context.Context,
|
|||
},
|
||||
)
|
||||
if err != nil {
|
||||
log.Warnf("unable to push htlc tx sigs to server: %w",
|
||||
log.Warnf("unable to push htlc tx sigs to server: %v",
|
||||
err)
|
||||
}
|
||||
}
|
||||
|
|
@ -628,7 +628,7 @@ func (f *FSM) MonitorInvoiceAndHtlcTxAction(ctx context.Context,
|
|||
if err != nil {
|
||||
log.Errorf("unable to transition "+
|
||||
"deposits to the htlc timeout "+
|
||||
"sweeping state: %w", err)
|
||||
"sweeping state: %v", err)
|
||||
}
|
||||
|
||||
return OnSweepHtlcTimeout
|
||||
|
|
|
|||
|
|
@ -888,7 +888,7 @@ func (m *Manager) createWithdrawalTx(ctx context.Context,
|
|||
// Send change back to the same static address.
|
||||
staticAddress, err := m.cfg.AddressManager.GetStaticAddress(ctx)
|
||||
if err != nil {
|
||||
log.Errorf("error retrieving taproot address %w", err)
|
||||
log.Errorf("error retrieving taproot address %v", err)
|
||||
|
||||
return nil, 0, 0, fmt.Errorf("withdrawal failed")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue