diff --git a/internal/blockchain/tezos/connector/connector_interface.go b/internal/blockchain/tezos/connector/connector_interface.go index 158322a5..6af1f297 100644 --- a/internal/blockchain/tezos/connector/connector_interface.go +++ b/internal/blockchain/tezos/connector/connector_interface.go @@ -23,7 +23,7 @@ import ( type Connector interface { GetServiceDefinitions(s *types.Stack, dependentServices map[string]string) []*docker.ServiceDefinition - GenerateConfig(stack *types.Stack, member *types.Organization, blockchainServiceName, rpcURL string) Config + GenerateConfig(stack *types.Stack, member *types.Organization, signerHostname, rpcURL string) Config Name() string Port() int } diff --git a/internal/blockchain/tezos/connector/tezosconnect/config.go b/internal/blockchain/tezos/connector/tezosconnect/config.go index 3203d1d5..e1ae7762 100644 --- a/internal/blockchain/tezos/connector/tezosconnect/config.go +++ b/internal/blockchain/tezos/connector/tezosconnect/config.go @@ -92,7 +92,7 @@ func (c *Config) WriteConfig(filename string, extraTezosconnectConfigPath string return nil } -func (t *Tezosconnect) GenerateConfig(stack *types.Stack, org *types.Organization, blockchainServiceName, rpcURL string) connector.Config { +func (t *Tezosconnect) GenerateConfig(stack *types.Stack, org *types.Organization, signerHostname, rpcURL string) connector.Config { confirmations := new(int) *confirmations = 0 var metrics *types.MetricsServerConfig @@ -129,7 +129,7 @@ func (t *Tezosconnect) GenerateConfig(stack *types.Stack, org *types.Organizatio Blockchain: &BlockchainConfig{ Network: network, RPC: rpcURL, - Signatory: fmt.Sprintf("http://%s:6732", blockchainServiceName), + Signatory: fmt.Sprintf("http://%s:6732", signerHostname), }, }, Persistence: &PersistenceConfig{