Skip to content

Commit

Permalink
Merge pull request #18 from NetSepio/rushikesh
Browse files Browse the repository at this point in the history
struct fix
  • Loading branch information
Rushikeshnimkar authored Jul 6, 2024
2 parents 698ace6 + e468dc6 commit 324bdef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type NodeStatus struct {
UploadSpeed float64 `json:"uploadSpeed"`
RegistrationTime int64 `json:"registrationTime"` //StartTimeStamp
LastPing int64 `json:"lastPing"`
ChainName string `json:"chainName"`
Chain string `json:"chainName"`
WalletAddress string `json:"walletAddress"`
Version string `json:"version"`
CodeHash string `json:"codeHash"`
Expand Down Expand Up @@ -137,7 +137,7 @@ func CreateNodeStatus(address string, id string, startTimeStamp int64, name stri
RegistrationTime: startTimeStamp,
Name: name,
WalletAddress: core.WalletAddress,
ChainName: core.ChainName,
Chain: core.ChainName,
Version: "v1",
CodeHash: "xxxxxxxxxxxxx",
SystemInfo: ToJSON(GetOSInfo()),
Expand Down

0 comments on commit 324bdef

Please sign in to comment.