Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaffi authored Aug 10, 2023
1 parent 0a47a90 commit 634a323
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions conduit/plugins/importers/algod/algod_importer.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,12 +418,14 @@ func (algodImp *algodImporter) getDelta(rnd uint64) (sdk.LedgerStateDelta, error
}

// SyncError is used to indicate algod and conduit are not synchronized.
// The retrievedRound is the round returned from an algod status call.
// The expectedRound is the round conduit expected to have gotten back.
// err is the error that was received from the endpoint caller.
type SyncError struct {
// retrievedRound is the round returned from an algod status call.
retrievedRound uint64

// expectedRound is the round conduit expected to have gotten back.
expectedRound uint64

// err is the error that was received from the endpoint caller.
err error
}

Expand Down

0 comments on commit 634a323

Please sign in to comment.