Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RpcDaemon doesn't see recently retired blocks #9318

Merged
merged 17 commits into from
Jan 29, 2024
Prev Previous commit
Next Next commit
save
  • Loading branch information
AskAlexSharov committed Jan 26, 2024
commit 6dccfeaf77eae62f430535f6ba9d36fee541eb01
2 changes: 1 addition & 1 deletion erigon-lib/kv/remotedbserver/remotedbserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ func (s *KvServer) Snapshots(_ context.Context, _ *remote.SnapshotsRequest) (rep
}

blockFiles := s.blockSnapshots.Files()
if s.borSnapshots == nil || reflect.ValueOf(s.borSnapshots).IsNil() { // nolint
if s.borSnapshots != nil && !reflect.ValueOf(s.borSnapshots).IsNil() { // nolint
blockFiles = append(blockFiles, s.borSnapshots.Files()...)
}

Expand Down
Loading