Skip to content

Commit

Permalink
Merge pull request #5456 from EdgeApp/matthew/missing-staked-fio
Browse files Browse the repository at this point in the history
Fix missing locked FIO amounts
  • Loading branch information
peachbits authored Feb 15, 2025
2 parents 5af05ac + 97b1344 commit 86f3cf9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/themed/TransactionListTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,11 @@ export class TransactionListTopComponent extends React.PureComponent<Props, Stat
}

isStakingPolicyAvailable = (): boolean => {
return Object.keys(this.props.walletStakingState.stakePolicies).length > 0
return (
Object.keys(this.props.walletStakingState.stakePolicies).length > 0 ||
// FIO was the first staking-enabled currency and doesn't use staking policies yet
this.props.wallet.currencyInfo.pluginId === 'fio'
)
}

/** Return the best APY found, defaulting to 1 decimal place, rounding to the
Expand Down

0 comments on commit 86f3cf9

Please sign in to comment.