Skip to content

fix: source account not show - #175

Merged
stanleyyconsensys merged 1 commit into
mainfrom
fix/source-acc
Aug 7, 2026
Merged

fix: source account not show#175
stanleyyconsensys merged 1 commit into
mainfrom
fix/source-acc

Conversation

@stanleyyconsensys

Copy link
Copy Markdown
Collaborator

Explanation

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@stanleyyconsensys
stanleyyconsensys requested a review from a team as a code owner August 7, 2026 03:12
{t('confirmation.transaction.param.source')}
</SnapText>
<Copyable value={operationJson.explicitSource} />
<Copyable value={operationJson.source} />

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

source is either the operation source or the txn source

operation source over the txn source

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Stellar Snap’s sign-transaction confirmation UI to display an operation’s effective source account (including inherited transaction source), addressing cases where the source was previously omitted from the view.

Changes:

  • Switches source rendering from explicitSource (only set when the operation overrides source) to the resolved source field.
  • Hides the source row when the operation source matches the signer account address to avoid redundant UI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stanleyyconsensys
stanleyyconsensys merged commit 740c7e8 into main Aug 7, 2026
11 checks passed
@stanleyyconsensys
stanleyyconsensys deleted the fix/source-acc branch August 7, 2026 04:36
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