mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
Prevent 0 value for committeesPerSlot in shuffle function (#648)
This commit is contained in:
@@ -111,7 +111,6 @@ func (s *Service) Stop() error {
|
||||
// From this, the validator client can deduce what slot interval the beacon
|
||||
// node is in and determine when exactly it is time to propose or attest.
|
||||
func (s *Service) fetchCurrentAssignmentsAndGenesisTime(client pb.BeaconServiceClient) {
|
||||
|
||||
// Currently fetches assignments for all validators.
|
||||
req := &pb.ValidatorAssignmentRequest{
|
||||
AllValidators: true,
|
||||
|
||||
@@ -190,7 +190,6 @@ func (s *ShardEthereum) registerTXPool() error {
|
||||
// registerBeaconService registers a service that fetches streams from a beacon node
|
||||
// via RPC.
|
||||
func (s *ShardEthereum) registerBeaconService(pubKey []byte) error {
|
||||
|
||||
var rpcService *rpcclient.Service
|
||||
if err := s.services.FetchService(&rpcService); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user