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

[Fix] fix max stake for single #996

Merged
merged 15 commits into from
Dec 6, 2022
Merged

Conversation

camfairchild
Copy link
Collaborator

This PR addresses a bug with max stake that effected staking with only a single hotkey --wallet.hotkey hk0 using the --max_stake <#> flag.

e.g. btcli stake --wallet.hotkey hk0 --max_stake 1.0

Copy link
Contributor

@Eugene-hu Eugene-hu left a comment

Choose a reason for hiding this comment

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

Nice job!

bittensor/_cli/cli_impl.py Show resolved Hide resolved
bittensor/_cli/cli_impl.py Show resolved Hide resolved
bittensor/_cli/cli_impl.py Show resolved Hide resolved
@camfairchild camfairchild merged commit b213b9f into nobunaga Dec 6, 2022
@camfairchild camfairchild deleted the fix/fix_max_stake_for_single branch December 6, 2022 19:58
@eduardogr eduardogr mentioned this pull request Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants