@@ -1049,9 +1049,8 @@ func TestSubmitSyncCommitteeSubscription(t *testing.T) {
10491049 s .SubmitSyncCommitteeSubscription (writer , request )
10501050 assert .Equal (t , http .StatusOK , writer .Code )
10511051 subnets , _ , _ , _ := cache .SyncSubnetIDs .GetSyncCommitteeSubnets (pubkeys [1 ], 0 )
1052- require .Equal (t , 2 , len (subnets ))
1052+ require .Equal (t , 1 , len (subnets ))
10531053 assert .Equal (t , uint64 (0 ), subnets [0 ])
1054- assert .Equal (t , uint64 (2 ), subnets [1 ])
10551054 })
10561055 t .Run ("multiple" , func (t * testing.T ) {
10571056 cache .SyncSubnetIDs .EmptyAllCaches ()
@@ -1070,7 +1069,7 @@ func TestSubmitSyncCommitteeSubscription(t *testing.T) {
10701069 assert .Equal (t , uint64 (0 ), subnets [0 ])
10711070 subnets , _ , _ , _ = cache .SyncSubnetIDs .GetSyncCommitteeSubnets (pubkeys [1 ], 0 )
10721071 require .Equal (t , 1 , len (subnets ))
1073- assert .Equal (t , uint64 (2 ), subnets [0 ])
1072+ assert .Equal (t , uint64 (0 ), subnets [0 ])
10741073 })
10751074 t .Run ("no body" , func (t * testing.T ) {
10761075 request := httptest .NewRequest (http .MethodPost , "http://example.com" , nil )
0 commit comments