Skip to content

Commit

Permalink
fix: bug with show cmd (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur authored Oct 1, 2024
1 parent bcba680 commit 9bb7b72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/rewards/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,11 @@ func readAndValidateConfig(cCtx *cli.Context, logger logging.Logger) (*ShowConfi
chainID := utils.NetworkNameToChainId(network)
logger.Debugf("Using chain ID: %s", chainID.String())

// TODO(shrimalmadhur): Fix to make sure correct S3 bucket is used. Clean up later
if network == utils.MainnetNetworkName {
network = "ethereum"
}

return &ShowConfig{
EarnerAddress: earnerAddress,
Network: network,
Expand Down

0 comments on commit 9bb7b72

Please sign in to comment.