Skip to content

Commit

Permalink
redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
xmariachi committed Jan 17, 2025
1 parent abbb924 commit 27f9cbd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,7 @@ func ProcessErrorTx(ctx context.Context, err error, infoMsg string, retryCount,
return processingType, err
}

if processingType, err := triageStringMatchingError(ctx, err, infoMsg, node); err != nil {
return processingType, err
} else {
return processingType, nil
}
return triageStringMatchingError(ctx, err, infoMsg, node)
}

// triageABCIErrorCode handles specific ABCI error codes and returns appropriate processing instructions
Expand Down

0 comments on commit 27f9cbd

Please sign in to comment.