mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
Fix unexported returns (#4450)
This commit is contained in:
@@ -47,7 +47,7 @@ type appConnConsensus struct {
|
||||
appConn abcicli.Client
|
||||
}
|
||||
|
||||
func NewAppConnConsensus(appConn abcicli.Client) *appConnConsensus {
|
||||
func NewAppConnConsensus(appConn abcicli.Client) AppConnConsensus {
|
||||
return &appConnConsensus{
|
||||
appConn: appConn,
|
||||
}
|
||||
@@ -88,7 +88,7 @@ type appConnMempool struct {
|
||||
appConn abcicli.Client
|
||||
}
|
||||
|
||||
func NewAppConnMempool(appConn abcicli.Client) *appConnMempool {
|
||||
func NewAppConnMempool(appConn abcicli.Client) AppConnMempool {
|
||||
return &appConnMempool{
|
||||
appConn: appConn,
|
||||
}
|
||||
@@ -121,7 +121,7 @@ type appConnQuery struct {
|
||||
appConn abcicli.Client
|
||||
}
|
||||
|
||||
func NewAppConnQuery(appConn abcicli.Client) *appConnQuery {
|
||||
func NewAppConnQuery(appConn abcicli.Client) AppConnQuery {
|
||||
return &appConnQuery{
|
||||
appConn: appConn,
|
||||
}
|
||||
|
||||
@@ -30,15 +30,15 @@ func NewAppConns(clientCreator ClientCreator) AppConns {
|
||||
type multiAppConn struct {
|
||||
service.BaseService
|
||||
|
||||
mempoolConn *appConnMempool
|
||||
consensusConn *appConnConsensus
|
||||
queryConn *appConnQuery
|
||||
mempoolConn AppConnMempool
|
||||
consensusConn AppConnConsensus
|
||||
queryConn AppConnQuery
|
||||
|
||||
clientCreator ClientCreator
|
||||
}
|
||||
|
||||
// Make all necessary abci connections to the application
|
||||
func NewMultiAppConn(clientCreator ClientCreator) *multiAppConn {
|
||||
func NewMultiAppConn(clientCreator ClientCreator) AppConns {
|
||||
multiAppConn := &multiAppConn{
|
||||
clientCreator: clientCreator,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user