func (m *Service) GetSubmitCh() chan []byte {
	return m.submitCh
}
GetSubmitCh returns the submit channel
package service
import (
	"math/big"
	"net/http"
	"os"
	"github.com/mosaicnetworks/evm-lite/src/state"
	"github.com/sirupsen/logrus"
)
type infoCallback func() (map[string]string, error)
type Service struct {
	state       *state.State
	submitCh    chan []byte
	apiAddr     string
	minGasPrice *big.Int
	getInfo     infoCallback
	logger      *logrus.Entry
}
func NewService(apiAddr string,
	state *state.State,
	submitCh chan []byte,
	minGasPrice *big.Int,
	logger *logrus.Entry) *Service {
	return &Service{
		apiAddr:     apiAddr,
		state:       state,
		submitCh:    submitCh,
		minGasPrice: minGasPrice,
		logger:      logger,
	}
}
func (m *Service) Run() {
	m.logger.WithField("bind_address", m.apiAddr).Info("API")
	m.serveAPI()
}