chainntnfs/bitcoind+btcd+neutrino: pass nil conf details
This commit is contained in:
parent
1babec971f
commit
a1756b0b1b
@ -278,15 +278,20 @@ out:
|
||||
return
|
||||
}
|
||||
|
||||
if confDetails != nil {
|
||||
err := b.txConfNotifier.UpdateConfDetails(
|
||||
// If the historical dispatch finished
|
||||
// without error, we will invoke
|
||||
// UpdateConfDetails even if none were
|
||||
// found. This allows the notifier to
|
||||
// begin safely updating the height hint
|
||||
// cache at tip, since any pending
|
||||
// rescans have now completed.
|
||||
err = b.txConfNotifier.UpdateConfDetails(
|
||||
*msg.TxID, msg.ConfID,
|
||||
confDetails,
|
||||
)
|
||||
if err != nil {
|
||||
chainntnfs.Log.Error(err)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
case *blockEpochRegistration:
|
||||
|
@ -348,7 +348,13 @@ out:
|
||||
return
|
||||
}
|
||||
|
||||
if confDetails != nil {
|
||||
// If the historical dispatch finished
|
||||
// without error, we will invoke
|
||||
// UpdateConfDetails even if none were
|
||||
// found. This allows the notifier to
|
||||
// begin safely updating the height hint
|
||||
// cache at tip, since any pending
|
||||
// rescans have now completed.
|
||||
err = b.txConfNotifier.UpdateConfDetails(
|
||||
*msg.TxID, msg.ConfID,
|
||||
confDetails,
|
||||
@ -356,7 +362,6 @@ out:
|
||||
if err != nil {
|
||||
chainntnfs.Log.Error(err)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
case *blockEpochRegistration:
|
||||
|
@ -353,14 +353,22 @@ out:
|
||||
chainntnfs.Log.Error(err)
|
||||
}
|
||||
|
||||
if confDetails != nil {
|
||||
err := n.txConfNotifier.UpdateConfDetails(
|
||||
// If the historical dispatch finished
|
||||
// without error, we will invoke
|
||||
// UpdateConfDetails even if none were
|
||||
// found. This allows the notifier to
|
||||
// begin safely updating the height hint
|
||||
// cache at tip, since any pending
|
||||
// rescans have now completed.
|
||||
err = n.txConfNotifier.UpdateConfDetails(
|
||||
*msg.TxID, msg.ConfID,
|
||||
confDetails,
|
||||
)
|
||||
if err != nil {
|
||||
chainntnfs.Log.Error(err)
|
||||
}
|
||||
|
||||
if confDetails != nil {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user