From b65339332c0f750ae3665a91db6e79b9e298ae2c Mon Sep 17 00:00:00 2001 From: billettc Date: Fri, 19 Apr 2024 07:26:54 -0400 Subject: [PATCH] fix compilation issue --- cmd/generate_one_block/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/generate_one_block/main.go b/cmd/generate_one_block/main.go index 6e482c2..527f9df 100644 --- a/cmd/generate_one_block/main.go +++ b/cmd/generate_one_block/main.go @@ -53,7 +53,8 @@ func Main() error { } txIndexStore := txindexkv.NewTxIndex(txIndexDB) - merger := injective.NewSimpleMerger(blockStore, stateStore, txIndexStore, logger) + loader := injective.NewLoader(blockStore, stateStore, txIndexStore, logger) + merger := injective.NewSimpleMerger(loader, logger) err = merger.GenerateOneBlock(65543425, 65543465, destStore) if err != nil {