Skip to content

Commit

Permalink
fix: don't skip block 1
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Meier <norman@samourai.coop>
  • Loading branch information
n0izn0iz committed Aug 15, 2024
1 parent 4e17d19 commit 7fd4a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (f *Fetcher) FetchGenesisData() error {
txResults[txIndex] = result
}

return f.writeBatch([]*bft_types.Block{block}, [][]*bft_types.TxResult{txResults}, 0, 1)
return f.writeBatch([]*bft_types.Block{block}, [][]*bft_types.TxResult{txResults}, 0, 0)
}

// FetchChainData starts the fetching process that indexes
Expand Down

0 comments on commit 7fd4a67

Please sign in to comment.