Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroms committed Feb 20, 2024
1 parent 205a80f commit afe97e4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions x/pairing/keeper/staking.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,6 @@ func (k Keeper) StakeNewEntry(ctx sdk.Context, validator, creator, chainID strin
DelegateCommission: delegationCommission,
}

if stakeEntry.EffectiveStake().LT(spec.MinStakeProvider.Amount) {
details = append(details, utils.Attribute{Key: "frozen", Value: true})
stakeEntry.Freeze()
} else {
details = append(details, utils.Attribute{Key: "frozen", Value: false})
}

k.epochStorageKeeper.AppendStakeEntryCurrent(ctx, chainID, stakeEntry)

err = k.dualstakingKeeper.DelegateFull(ctx, senderAddr.String(), validator, senderAddr.String(), chainID, amount)
Expand Down

0 comments on commit afe97e4

Please sign in to comment.