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

Set node name as JAID to prevent overwrite #8737

Merged
merged 10 commits into from
Mar 20, 2023
Prev Previous commit
Next Next commit
Starknet node name as JAID
  • Loading branch information
george-dorin committed Mar 20, 2023
commit 3bc9d4b251bcd51b6ef7862534d38ab7a84d700f
2 changes: 1 addition & 1 deletion core/web/presenters/starknet_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (r StarkNetNodeResource) GetName() string {
// NewStarkNetNodeResource returns a new StarkNetNodeResource for node.
func NewStarkNetNodeResource(node db.Node) StarkNetNodeResource {
return StarkNetNodeResource{
JAID: NewJAIDInt32(node.ID),
JAID: NewJAID(node.Name),
Name: node.Name,
ChainID: node.ChainID,
URL: node.URL,
Expand Down