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

creates ui prompt to select multisig account #5719

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Feb 5, 2025

Summary

uses 'wallet/getAccounts' RPC to fetch the list of all account names

next uses 'wallet/multisig/getAccountIdentity' to filter accounts that are not multisig accounts (if an account is not a multisig account then it will not have an identity)

replaces 'accountPrompt' prompt with 'multisigAccountPrompt' in 'wallet:multisig:sign' command

Testing Plan

  • run wallet:multisig:sign on a node that has a mix of multisig and single-signer accounts and observe that the prompt only includes the multisig accounts

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

uses 'wallet/getAccounts' RPC to fetch the list of all account names

next uses 'wallet/multisig/getAccountIdentity' to filter accounts that are not
multisig accounts (if an account is not a multisig account then it will not have
an identity)

replaces 'accountPrompt' prompt with 'multisigAccountPrompt' in
'wallet:multisig:sign' command
@hughy hughy requested a review from a team as a code owner February 5, 2025 22:55
@hughy hughy merged commit 76d47a5 into staging Feb 6, 2025
13 checks passed
@hughy hughy deleted the feat/hughy/multisig-account-prompt branch February 6, 2025 19:42
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.

2 participants