Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Fix non-idiomatic error check #18

Merged

Conversation

adlerjohn
Copy link
Member

Use idiomatic err != nil instead of non-idiomatic err == nil.

smt.go Show resolved Hide resolved
smt.go Outdated Show resolved Hide resolved
Fix return to `nil` to error

Co-authored-by: Tomasz Zdybał <[email protected]>
smt.go Outdated Show resolved Hide resolved
Return `nil` error on success.

Co-authored-by: Tomasz Zdybał <[email protected]>
@adlerjohn adlerjohn merged commit edfd329 into celestiaorg:master Mar 9, 2021
@adlerjohn adlerjohn deleted the adlerjohn-update_idiomatic_err branch March 9, 2021 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants