Use Finish stage for eth_syncing (#1017)

This commit is contained in:
ledgerwatch 2020-08-31 06:27:35 +01:00 committed by GitHub
parent 7bc892e886
commit 8a3dad0914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ func (api *APIImpl) Syncing(ctx context.Context) (interface{}, error) {
return false, err
}
currentBlock, _, err := stages.GetStageProgress(api.dbReader, stages.TxPool)
currentBlock, _, err := stages.GetStageProgress(api.dbReader, stages.Finish)
if err != nil {
return false, err
}