Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staking clients #22

Merged
merged 12 commits into from
Sep 26, 2023
Merged

Staking clients #22

merged 12 commits into from
Sep 26, 2023

Conversation

mboben
Copy link
Collaborator

@mboben mboben commented Sep 25, 2023

No description provided.

func (c *indexerContext) Flags() *IndexerFlags { return c.flags }

func parseIndexerFlags() *IndexerFlags {
cfgFlag := flag.String("config", globalConfig.CONFIG_FILE, "Configuration file (toml format)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a general comment, personally I like using the argparse library for parsing command-line args, I prefer it to the builtin flag package. Not expecting you to change it here but just in case you want to check it out.

@ryanc-flare
Copy link
Contributor

Oh I see there is just one failing linter check:

Error return value of `mc.reset` is not checked (errcheck)

If that can be fixed then I am happy to merge 🙂

@mboben mboben merged commit 82bd61c into main Sep 26, 2023
1 check passed
mboben pushed a commit that referenced this pull request Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants