Skip to content

Commit

Permalink
fix merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Aug 23, 2024
1 parent d4d2610 commit 108bd24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vms/platformvm/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ func TestGetCurrentValidators(t *testing.T) {
found := false
for i := 0; i < len(response.Validators); i++ {
gotVdr := response.Validators[i].(pchainapi.PermissionlessValidator)
if gotVdr.NodeID.Compare(vdr.NodeID.NodeID()) != 0 {
if gotVdr.NodeID.Compare(nodeID) != 0 {
continue
}

Expand Down
2 changes: 1 addition & 1 deletion vms/platformvm/validator_set_property_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ func buildVM(t *testing.T) (*VM, ids.ID, error) {
chainDB,
genesistest.NewBytes(t, genesistest.Config{
NodeIDs: []ids.NodeID{
genesistest.DefaultNodeIDs[len(genesistest.DefaultNodeIDs)-1],
genesistest.DefaultNodeIDs[len(genesistest.DefaultNodeIDs)-1].NodeID(),
},
ValidatorEndTime: mockable.MaxTime,
}),
Expand Down

0 comments on commit 108bd24

Please sign in to comment.