Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cce committed Jul 18, 2023
1 parent 13abb46 commit cf96bbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ledger/catchpointtracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ func (ct *catchpointTracker) GetLastCatchpointLabel() string {

func (ct *catchpointTracker) getSPVerificationData() (encodedData []byte, spVerificationHash crypto.Digest, err error) {
err = ct.dbs.Transaction(func(ctx context.Context, tx trackerdb.TransactionScope) error {
rawData, err := tx.MakeSpVerificationCtxReader().GetAllSPContexts(ctx)
if err != nil {
return err
rawData, dbErr := tx.MakeSpVerificationCtxReader().GetAllSPContexts(ctx)
if dbErr != nil {
return dbErr

Check warning on line 208 in ledger/catchpointtracker.go

View check run for this annotation

Codecov / codecov/patch

ledger/catchpointtracker.go#L208

Added line #L208 was not covered by tests
}

wrappedData := catchpointStateProofVerificationContext{Data: rawData}
Expand Down

0 comments on commit cf96bbe

Please sign in to comment.