Skip to content

Commit

Permalink
Fixed subnet test
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain committed Apr 3, 2020
1 parent 956e8a5 commit 5a996db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/p2p/subnets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func TestStartDiscV5_DiscoverPeersWithSubnets(t *testing.T) {

// Update ENR of a peer.
testService := &Service{dv5Listener: listeners[0]}
cache.CommitteeIDs.AddIDs([]uint64{10}, 0)
cache.CommitteeIDs.AddID(0, 10)
testService.RefreshENR(0)
time.Sleep(2 * time.Second)

Expand Down

0 comments on commit 5a996db

Please sign in to comment.