// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks

import core_types "github.com/tendermint/tendermint/rpc/core/types"

import mock "github.com/stretchr/testify/mock"
import types "github.com/tendermint/tendermint/types"

// Client is an autogenerated mock type for the Client type
type Client struct {
	mock.Mock
}

// BroadcastTxAsync provides a mock function with given fields: tx
func (_m *Client) BroadcastTxAsync(tx types.Tx) (*core_types.ResultBroadcastTx, error) {
	ret := _m.Called(tx)

	var r0 *core_types.ResultBroadcastTx
	if rf, ok := ret.Get(0).(func(types.Tx) *core_types.ResultBroadcastTx); ok {
		r0 = rf(tx)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*core_types.ResultBroadcastTx)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(types.Tx) error); ok {
		r1 = rf(tx)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
