mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 11:22:10 +02:00
chainntnfs/txconfnotifier: return HistoricalConfDispatch from Register
This commit is contained in:
@@ -207,6 +207,8 @@ func (tcn *TxConfNotifier) Register(
|
|||||||
|
|
||||||
// Before proceeding to register the notification, we'll query our
|
// Before proceeding to register the notification, we'll query our
|
||||||
// height hint cache to determine whether a better one exists.
|
// height hint cache to determine whether a better one exists.
|
||||||
|
//
|
||||||
|
// TODO(conner): verify that all submitted height hints are identical.
|
||||||
startHeight := ntfn.HeightHint
|
startHeight := ntfn.HeightHint
|
||||||
hint, err := tcn.hintCache.QueryConfirmHint(*ntfn.TxID)
|
hint, err := tcn.hintCache.QueryConfirmHint(*ntfn.TxID)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
Reference in New Issue
Block a user