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

Fixes to multisig functionality in CLI #1609

Merged
merged 3 commits into from
Apr 27, 2020
Merged

Fixes to multisig functionality in CLI #1609

merged 3 commits into from
Apr 27, 2020

Conversation

arajasek
Copy link
Contributor

  • Create was only using default address as sender (bad)
  • Propose and Approve weren't actually using the "source" flag
  • Approve wasn't sending the proposal hash param in TxnIDParams, which is not an optional param

With these changes the multisig workflow works #1084

@arajasek arajasek self-assigned this Apr 25, 2020
cli/multisig.go Outdated
}

if cctx.Args().Len() > 5 && cctx.Args().Len() != 7 {
return fmt.Errorf("usage: msig propose <msig addr> <message ID> <proposer address> <desination> <value> [ <method> <params> ]")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return fmt.Errorf("usage: msig propose <msig addr> <message ID> <proposer address> <desination> <value> [ <method> <params> ]")
return fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <desination> <value> [ <method> <params> ]")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the catch!

@magik6k magik6k merged commit 5aa7b15 into testnet/3 Apr 27, 2020
@magik6k magik6k deleted the asr/misc branch April 27, 2020 10:54
Kubuxu pushed a commit that referenced this pull request May 12, 2020
Fixes to multisig functionality in CLI
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