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

fix(active-rewards-learn-eligible): fix eligible check #5641

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

jjBlockchain
Copy link
Collaborator

Description (optional)

fix eligibility

@jjBlockchain jjBlockchain merged commit 30d7a9e into development Dec 22, 2022
@jjBlockchain jjBlockchain deleted the fix/active-rewards-learn branch December 22, 2022 18:13
@jjBlockchain jjBlockchain restored the fix/active-rewards-learn branch December 22, 2022 18:24
@jjBlockchain jjBlockchain deleted the fix/active-rewards-learn branch December 22, 2022 18:26
Copy link

@AKayy2020 AKayy2020 left a comment

Choose a reason for hiding this comment

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

Copy link

@AKayy2020 AKayy2020 left a comment

Choose a reason for hiding this comment

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

~~~~

// If user is eligible it will send {coin: eligibleType} otherwise it will send EligibleType only
type EligibleType = {
eligible: boolean
ineligibilityReason: 'KYC_TIER' | 'BLOCKED' | 'REGION' | 'UNSUPPORTED_COUNTRY_OR_STATE' | null

Choose a reason for hiding this comment

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

packages/blockchain-wallet-v4/src/network/api/earn/types.ts**

Suggested change
ineligibilityReason: 'KYC_TIER' | 'BLOCKED' | 'REGION' | 'UNSUPPORTED_COUNTRY_OR_STATE' | null
ineligibilityReason: 'KYC_TIER' | 'BLOCKED' | 'REGION' | 'UNSUPPORTED_COUNTRY_OR_STATE' | null

**

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.

None yet

3 participants