fix(chainwatch): Process chain waitout waiting for update via ChainNotify
This commit is contained in:
parent
49d64f7f7e
commit
80ed6b8c25
@ -177,6 +177,8 @@ func (s *Syncer) Start(ctx context.Context) {
|
||||
for notif := range notifs {
|
||||
for _, change := range notif {
|
||||
switch change.Type {
|
||||
case store.HCCurrent:
|
||||
fallthrough
|
||||
case store.HCApply:
|
||||
unsynced, err := s.unsyncedBlocks(ctx, change.Val, sinceEpoch)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user