-
Notifications
You must be signed in to change notification settings - Fork 103
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
feat: claim rewards from delegation outputs #8136
feat: claim rewards from delegation outputs #8136
Conversation
…lop-iota2.0' of github.com:iotaledger/firefly into feat/claim-rewards-from-delegation-outputs
…lop-iota2.0' of github.com:iotaledger/firefly into feat/claim-rewards-from-delegation-outputs
onConfirm: async () => { | ||
await checkActiveProfileAuth( | ||
async () => { | ||
// TODO: Update the delegationId when https://github.com/iotaledger/firefly/issues/8188 is merged |
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.
Although we don't have computeDelegationId
we can use computeAccountId
// TODO: add logic to claim reward | ||
function handleClaimRewards(outputId: string, delegationId: string): void { | ||
if (delegationId === EMPTY_HEX_ID) { | ||
// TODO: Update with computeDelegationId when https://github.com/iotaledger/firefly/issues/8188 is merged |
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.
#8188 got closed, we can now use computeDelegationId
…lop-iota2.0' of github.com:iotaledger/firefly into feat/claim-rewards-from-delegation-outputs
Co-authored-by: Marc Espin <[email protected]>
…om:iotaledger/firefly into feat/claim-rewards-from-delegation-outputs
…feat/claim-rewards-from-delegation-outputs
…lop-iota2.0' of github.com:iotaledger/firefly into feat/claim-rewards-from-delegation-outputs
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.
👍🏼
Closes #7990
Summary
...
Changelog
Testing
Platforms
Instructions
...
Checklist