-
Notifications
You must be signed in to change notification settings - Fork 332
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
ton jettons integration #7513
ton jettons integration #7513
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
3 Skipped Deployments
|
@ayelenmurano is attempting to deploy a commit to the LedgerHQ Team on Vercel. A member of the Team first needs to authorize it. |
31a81b3
to
e9a6382
Compare
9c7a73c
to
946244b
Compare
Feat/jetton integration
spendableBalance: new BigNumber(balance), | ||
operations, | ||
operationsCount: operations.length, | ||
pendingOperations: maybeExistingSubAccount ? maybeExistingSubAccount.pendingOperations : [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't use pendingOperations in getAccountShape now.
operations with blockheight = null are considered as pending operations
you can just
pendingOperations: [],
I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested and it didn't work as expected if I change the code. When the account is synchronized again (and the transaction wasn't received yet), the pending operation is no longer displayed.
We receive the pendingOperations in getAccountShape and we use them in postSync too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my comments. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me.
There as been no activity on this PR for the last 14 days. Please consider closing this PR. |
β Checklist
npx changeset
was attached.π Description
This PR adds support for TON jetton transfers into ledger live.
β Context
π§ Checklist for the PR Reviewers