-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add HNT claimable rewards #850
base: main
Are you sure you want to change the base?
Conversation
ios/Podfile.lock
Outdated
@@ -2067,4 +2067,4 @@ SPEC CHECKSUMS: | |||
|
|||
PODFILE CHECKSUM: 51a354c5ff94b58e8c8bd1903d2326a93a17b4d0 | |||
|
|||
COCOAPODS: 1.16.2 | |||
COCOAPODS: 1.15.2 |
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.
Can update your pods version and revert this
@@ -62,6 +65,11 @@ const ClaimTokensPage = () => { | |||
return toNumber(pendingIotRewards, 6) | |||
}, [pendingIotRewards]) | |||
|
|||
const totalPendingHnt = useMemo(() => { | |||
if (!pendingHntRewards) return 0 | |||
return toNumber(pendingHntRewards, 6) |
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.
Should be 8 instead of 6
src/utils/solanaUtils.ts
Outdated
@@ -1323,6 +1342,7 @@ export async function annotateWithPendingRewards( | |||
}), | |||
{}, | |||
) | |||
console.log('hntRewards', hntRewards) |
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.
can remove
504caed
to
4aa3e97
Compare
No description provided.