Update rpc/core/blocks.go

Co-Authored-By: melekes <anton.kalyaev@gmail.com>
This commit is contained in:
Ismail Khoffi
2019-03-26 18:12:59 +01:00
committed by GitHub
parent be1b759d2f
commit ca70680728

View File

@@ -404,7 +404,7 @@ func BlockResults(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlockR
// for other heights, use indexer
// if index is disabled, return error
if _, ok := txIndexer.(*null.TxIndex); ok {
return nil, fmt.Errorf("Transaction indexing is disabled")
return nil, fmt.Errorf("transaction indexing is disabled")
}
var deliverTxs []*abci.ResponseDeliverTx