gocritic (2/2) (#3864)

Refs #3262
This commit is contained in:
Marko
2019-08-02 08:53:52 +02:00
committed by Anton Kaliaev
parent 14fa800773
commit f9cce282da
26 changed files with 120 additions and 90 deletions

View File

@@ -249,8 +249,7 @@ func execBlockOnProxyApp(
// Execute transactions and get hash.
proxyCb := func(req *abci.Request, res *abci.Response) {
switch r := res.Value.(type) {
case *abci.Response_DeliverTx:
if r, ok := res.Value.(*abci.Response_DeliverTx); ok {
// TODO: make use of res.Log
// TODO: make use of this info
// Blocks may include invalid txs.