Skip to content

Commit

Permalink
Merge pull request #319 from valory-xyz/fix/hide-funding-until-comple…
Browse files Browse the repository at this point in the history
…ted-staking-period

fix: hide funding until completed staking period
  • Loading branch information
truemiller authored Sep 4, 2024
2 parents 5745a56 + 29d9edf commit 0bb1fc9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ export const StakingContractSection = ({

const activeStakingContractSupportsMigration =
!activeStakingProgram ||
activeStakingProgramMeta?.canMigrateTo.includes(stakingProgram);
(activeStakingProgramMeta?.canMigrateTo.includes(stakingProgram) &&
isServiceStakedForMinimumDuration);

const canMigrate =
// checks for both initial deployment and migration
Expand Down

0 comments on commit 0bb1fc9

Please sign in to comment.