From 67da1427f2e0f03ade9cf212465ba6eb9825fb9d Mon Sep 17 00:00:00 2001 From: tony Date: Wed, 6 Nov 2024 17:07:10 +0800 Subject: [PATCH] fix block summary in repo --- chain/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/repository.go b/chain/repository.go index 883b825d4..6905c8b34 100644 --- a/chain/repository.go +++ b/chain/repository.go @@ -155,7 +155,7 @@ func (r *Repository) saveBlock(block *block.Block, receipts tx.Receipts, conflic id = header.ID() num = header.Number() txs = block.Transactions() - txIDs []thor.Bytes32 + txIDs = []thor.Bytes32{} bulk = r.db.NewStore("").Bulk() hdrPutter = kv.Bucket(hdrStoreName).NewPutter(bulk) bodyPutter = kv.Bucket(bodyStoreName).NewPutter(bulk)