Skip to content

Commit

Permalink
fix return type - weird that local linter didn't catch it
Browse files Browse the repository at this point in the history
  • Loading branch information
xenowits committed Jan 25, 2023
1 parent 616996e commit 9c4fea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/monitoringapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func peerCounter(ctx context.Context, eth2Cl eth2wrap.Client, clock clockwork.Cl
}

// beaconNodePeerCount returns the number of connected peers of the beacon node.
func beaconNodePeerCount(ctx context.Context, eth2Cl eth2wrap.Client) (int, error) {
func beaconNodePeerCount(ctx context.Context, eth2Cl eth2wrap.Client) (int64, error) {
peerCount, err := eth2Cl.NodePeerCount(ctx)
if err != nil {
return 0, errors.Wrap(err, "get beacon node peer count")
Expand Down

0 comments on commit 9c4fea9

Please sign in to comment.