Skip to content

Commit

Permalink
Update signer hostname
Browse files Browse the repository at this point in the history
Signed-off-by: Dzianis Andreyenka <[email protected]>
  • Loading branch information
denisandreenko committed Oct 25, 2023
1 parent c1c550c commit 58f681a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/blockchain/tezos/connector/connector_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions internal/blockchain/tezos/connector/tezosconnect/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 58f681a

Please sign in to comment.