chainntnfs: add more verbose logs for txnotifier
This commit is contained in:
1 file changed
+4
-4
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user