From d124d7e84431382436bdbdf5a1c45ce2ee08441d Mon Sep 17 00:00:00 2001 From: romever <360876221@qq.com> Date: Sun, 17 Nov 2024 03:02:02 +0800 Subject: [PATCH] fix:transaction list time field. --- job/task/block_task.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/job/task/block_task.go b/job/task/block_task.go index efaf228..3b3c223 100644 --- a/job/task/block_task.go +++ b/job/task/block_task.go @@ -42,6 +42,8 @@ func BlockScanner(ctx context.Context, svcCtx *svc.ServiceContext) { scanHeight++ } + logc.Infof(ctx, "block scan start: scanHeight:[%d], currentHeight:[%d]", scanHeight, currentHeight) + for scanHeight <= currentHeight { //block block, err := consensusApi.GetBlock(ctx, scanHeight)