chainntnfs/txconfnotifier: return HistoricalConfDispatch from Register
This commit is contained in:
parent
f94de2308f
commit
217b1fc0ef
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user