From 8a3dad09146542b44371034f4808d81cf41aa41f Mon Sep 17 00:00:00 2001 From: ledgerwatch Date: Mon, 31 Aug 2020 06:27:35 +0100 Subject: [PATCH] Use Finish stage for eth_syncing (#1017) --- cmd/rpcdaemon/commands/eth_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rpcdaemon/commands/eth_api.go b/cmd/rpcdaemon/commands/eth_api.go index 6cb21737b..c3749ef2d 100644 --- a/cmd/rpcdaemon/commands/eth_api.go +++ b/cmd/rpcdaemon/commands/eth_api.go @@ -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 }