Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

struct fix #18

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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