Skip to content

Commit

Permalink
added transfer transactions in storage
Browse files Browse the repository at this point in the history
  • Loading branch information
0xluk committed Mar 11, 2024
1 parent 8306cd2 commit 4ab1d6d
Show file tree
Hide file tree
Showing 17 changed files with 1,596 additions and 325 deletions.
2 changes: 1 addition & 1 deletion processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (p *Processor) getLastProcessedTick(ctx context.Context, currentTickInfo ty
lastTick, err := p.ps.GetLastProcessedTick(ctx)
if err != nil {
//handles first run of the archiver where there is nothing in storage
// in this case we start from the initial tick of the current epoch
// in this case we last tick is the initial tick of the current epoch - 1
if errors.Is(err, store.ErrNotFound) {
return uint64(currentTickInfo.InitialTick - 1), nil
}
Expand Down
Loading

0 comments on commit 4ab1d6d

Please sign in to comment.