Skip to content

Commit

Permalink
fix compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Apr 19, 2024
1 parent 89d737e commit b653393
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/generate_one_block/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b653393

Please sign in to comment.