func (txi *TxIndex) AddBatch(batch *indexer.Batch) error {
	return nil
}
AddBatch is a noop and always returns nil.
package null
import (
	"context"
	"errors"
	abci "github.com/tendermint/tendermint/abci/types"
	"github.com/tendermint/tendermint/internal/state/indexer"
	"github.com/tendermint/tendermint/libs/pubsub/query"
)
var _ indexer.TxIndexer = (*TxIndex)(nil)
type TxIndex struct{}
func (txi *TxIndex) Get(hash []byte) (*abci.TxResult, error) {
	return nil, errors.New(`indexing is disabled (set 'tx_index = "kv"' in config)`)
}