Skip to content

Commit

Permalink
new start block
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Oct 3, 2023
1 parent 6acf673 commit c458409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accountresolver/bundlerreader.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (r *BundleReader) fillBuffer() error {
if len(data) < bstream.GetBlockWriterHeaderLen {
return fmt.Errorf("one-block-file corrupt: expected header size of %d, but file size is only %d bytes", bstream.GetBlockWriterHeaderLen, len(data))
}
//data = data[bstream.GetBlockWriterHeaderLen:]

data = data[:bstream.GetBlockWriterHeaderLen]
r.readBuffer = data
r.readBufferOffset = 0
Expand Down
2 changes: 1 addition & 1 deletion cmd/firesol/tablelookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func processAddressLookupE(chain *firecore.Chain[*pbsolv1.Block], logger *zap.Lo

if cursor == nil {
logger.Info("No cursor found, starting from beginning")
cursor = accountsresolver.NewCursor(154655004)
cursor = accountsresolver.NewCursor(154_654_999)
}

fmt.Println("Cursor", cursor)
Expand Down

0 comments on commit c458409

Please sign in to comment.