Skip to content

Commit

Permalink
missed some
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Sep 12, 2023
1 parent e8401a0 commit a9a46cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions go/node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type Config struct {
enclaveImage string
hostImage string
nodeType string
l1WSRPCAddr string
l1WSURL string
sequencerID string
privateKey string
hostP2PPort int
Expand Down Expand Up @@ -94,7 +94,7 @@ func (c *Config) ToHostConfig() *config.HostInputConfig {
cfg.P2PPublicAddress = fmt.Sprintf("127.0.0.1:%d", c.hostP2PPort)
cfg.P2PBindAddress = c.hostPublicP2PAddr

cfg.L1WebsocketURL = c.l1WSRPCAddr
cfg.L1WebsocketURL = c.l1WSURL
cfg.ManagementContractAddress = gethcommon.HexToAddress(c.managementContractAddr)
cfg.MessageBusAddress = gethcommon.HexToAddress(c.messageBusContractAddress)
cfg.LogPath = testlog.LogFile()
Expand Down Expand Up @@ -202,7 +202,7 @@ func WithL1Start(blockHash string) Option {

func WithL1WebsocketURL(addr string) Option {
return func(c *Config) {
c.l1WSRPCAddr = addr
c.l1WSURL = addr
}
}

Expand Down
2 changes: 1 addition & 1 deletion go/node/docker_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (d *DockerNode) Upgrade(networkCfg *NetworkConfig) error {
func (d *DockerNode) startHost() error {
cmd := []string{
"/home/obscuro/go-obscuro/go/host/main/main",
"-l1WSRPCAddress", d.cfg.l1WSRPCAddr,
"-l1WSURL", d.cfg.l1WSURL,
"-enclaveRPCAddress", fmt.Sprintf("%s:%d", d.cfg.nodeName+"-enclave", d.cfg.enclaveWSPort),
"-managementContractAddress", d.cfg.managementContractAddr,
"-messageBusContractAddress", d.cfg.messageBusContractAddress,
Expand Down

0 comments on commit a9a46cf

Please sign in to comment.