Skip to content

Commit

Permalink
Fix missing locked FIO amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Feb 14, 2025
1 parent 5af05ac commit 97b1344
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 97b1344

Please sign in to comment.