Skip to content

Commit

Permalink
format the added code
Browse files Browse the repository at this point in the history
  • Loading branch information
Eslam-Nawara committed Nov 13, 2023
1 parent 87cc535 commit 6f1bfd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/registrar/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ func registerNode(
return 0, 0, errors.Wrapf(err, "failed to get node with id: %d", nodeID)
}

// ignore virt-what value if the node is marked as real on the chain
if !onChain.Virtualized {
real.Virtualized = false
}
// ignore virt-what value if the node is marked as real on the chain
if !onChain.Virtualized {
real.Virtualized = false
}
}

real.ID = types.U32(nodeID)
Expand Down

0 comments on commit 6f1bfd4

Please sign in to comment.