Skip to content

Commit 9bb7b72

Browse files
fix: bug with show cmd (#219)
1 parent bcba680 commit 9bb7b72

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/rewards/show.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,11 @@ func readAndValidateConfig(cCtx *cli.Context, logger logging.Logger) (*ShowConfi
298298
chainID := utils.NetworkNameToChainId(network)
299299
logger.Debugf("Using chain ID: %s", chainID.String())
300300

301+
// TODO(shrimalmadhur): Fix to make sure correct S3 bucket is used. Clean up later
302+
if network == utils.MainnetNetworkName {
303+
network = "ethereum"
304+
}
305+
301306
return &ShowConfig{
302307
EarnerAddress: earnerAddress,
303308
Network: network,

0 commit comments

Comments
 (0)