mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-22 23:03:43 +02:00
chainntnfs: add more verbose logs for txnotifier
This commit is contained in:
parent
c1175dcabe
commit
eb5e32f221
@ -614,8 +614,8 @@ func (n *TxNotifier) RegisterConf(txid *chainhash.Hash, pkScript []byte,
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
if hint > startHeight {
|
if hint > startHeight {
|
||||||
Log.Debugf("Using height hint %d retrieved from cache "+
|
Log.Debugf("Using height hint %d retrieved from cache "+
|
||||||
"for %v instead of %d", hint, ntfn.ConfRequest,
|
"for %v instead of %d for conf subscription",
|
||||||
startHeight)
|
hint, ntfn.ConfRequest, startHeight)
|
||||||
startHeight = hint
|
startHeight = hint
|
||||||
}
|
}
|
||||||
} else if err != ErrConfirmHintNotFound {
|
} else if err != ErrConfirmHintNotFound {
|
||||||
@ -1009,8 +1009,8 @@ func (n *TxNotifier) RegisterSpend(outpoint *wire.OutPoint, pkScript []byte,
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
if hint > startHeight {
|
if hint > startHeight {
|
||||||
Log.Debugf("Using height hint %d retrieved from cache "+
|
Log.Debugf("Using height hint %d retrieved from cache "+
|
||||||
"for %v instead of %d", hint, ntfn.SpendRequest,
|
"for %v instead of %d for spend subscription",
|
||||||
startHeight)
|
hint, ntfn.SpendRequest, startHeight)
|
||||||
startHeight = hint
|
startHeight = hint
|
||||||
}
|
}
|
||||||
} else if err != ErrSpendHintNotFound {
|
} else if err != ErrSpendHintNotFound {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user