Skip to content

Commit

Permalink
Make node api work and add node version (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur authored Jan 20, 2024
1 parent 9d4be86 commit 3a0ae9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
// Min number of seconds for the ExpirationPollIntervalSecFlag.
minExpirationPollIntervalSec = 3
AppName = "da-node"
SemVer = "0.0.1"
SemVer = "0.2.3"
GitCommit = ""
GitDate = ""
)
Expand Down
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func NewNode(config *Config, pubIPProvider pubip.Provider, logger common.Logger)
cst := eth.NewChainState(tx, client)

// Setup Node Api
nodeApi := nodeapi.NewNodeApi(AppName, SemVer, "localhost:"+config.NodeApiPort, logger)
nodeApi := nodeapi.NewNodeApi(AppName, SemVer, ":"+config.NodeApiPort, logger)

// Make validator
enc, err := encoding.NewEncoder(config.EncoderConfig)
Expand Down

0 comments on commit 3a0ae9a

Please sign in to comment.