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

go-kosu: implement validator removal and subcommand #190

Merged
merged 5 commits into from Jul 30, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

go-kosu: a happy linter makes a developer happy

  • Loading branch information
gchaincl committed Jul 25, 2019
commit 499f3af93cd0b4e50687bbd9bba991f4c9c132e8
@@ -67,6 +67,7 @@ func (cli *CLI) RebalanceTx() *cobra.Command {
}
}

// UpdateValidators updates the validator set by sending a Validator's WitnessTx
func (cli *CLI) UpdateValidators() *cobra.Command {
return &cobra.Command{
Use: "update-validator <block> <pubkey> <address> <power>",
@@ -25,6 +25,7 @@ func (b *BigInt) MarshalText() ([]byte, error) {
return []byte(str), nil
}

// Zero returns true if the value is 0
func (b *BigInt) Zero() bool {
return b.BigInt().Cmp(big.NewInt(0)) == 0
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.