M. J. Fromberger
8f06e0c9e7
This is a mostly-automated fixup using Comby (https://comby.dev) to remove lexically-obvious redundant error checks. No functional changes are intended. To reproduce the core change: # Collapse redundant error check conditionals % comby -in-place 'if err != nil { return err } return nil' 'return err' .go # Fold out unnecessary error temporaries % comby -in-place ':[spc~^\s*]err :[~:?]= :[any] return err' ':[spc]return :[any]' .go Fixes #6479 and related cases. |
3 years ago | |
---|---|---|
.. | ||
application.go | abci: modify Client interface and socket client (#5673) | 4 years ago |
messages.go | cleanup: remove redundant error plumbing (#6778) | 3 years ago |
messages_test.go | types: Refactor EventAttribute (#6408) | 4 years ago |
pubkey.go | crypto: add sr25519 as a validator key (#6376) | 4 years ago |
result.go | correct spelling to US english (#6077) | 4 years ago |
types.pb.go | abci: add changelog entry for mempool_error field (#6770) | 3 years ago |
util.go | fix lint failures with 1.31 (#5489) | 4 years ago |