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

uses 'getAccountIdentity' to determine identity in multisig sign #5724

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Feb 8, 2025

Summary

instead of fetching the list of all identities for an account and comparing it to the list of all identities stored in the walletDB we can now directly query for the account's identity using the 'wallet/multisig/getAccountIdentity' RPC

minor refactoring to pass identity instead of MultisigParticipant interface since downstream functions only need the identity

Closes IFL-3173

Testing Plan

  • create multisig account
  • fund account with transaction
  • create unsigned transaction to sign
  • use 'wallet:multisig:sign' to sign transaction

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

instead of fetching the list of all identities for an account and comparing it
to the list of all identities stored in the walletDB we can now directly query
for the account's identity using the 'wallet/multisig/getAccountIdentity' RPC

minor refactoring to pass identity instead of MultisigParticipant interface
since downstream functions only need the identity
@hughy hughy marked this pull request as ready for review February 11, 2025 18:39
@hughy hughy requested a review from a team as a code owner February 11, 2025 18:39
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.

1 participant