Skip to content

Commit

Permalink
fix: minimum staking amount
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Apr 9, 2024
1 parent 2b7ec4d commit 1dad92d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ export const tryToConnectPhantom = async (
};

// In testnet it is not possible to stake less than 1 SOL, Solflare will disable the button.
// In mainnet less than 0.1 SOL it gives an error from the wallet estimation.
// In mainnet less than 0.01 SOL it gives an error from the wallet estimation.
const minimumStakeAmount: { [key in StakingNetworkId]?: number } = {
[StakingNetworkId.Solana]: LAMPORTS_PER_SOL * 0.1,
[StakingNetworkId.Solana]: LAMPORTS_PER_SOL * 0.01,
[StakingNetworkId.SolanaDevnet]: LAMPORTS_PER_SOL * 0.001,
[StakingNetworkId.SolanaTestnet]: LAMPORTS_PER_SOL * 1,
};
Expand Down

0 comments on commit 1dad92d

Please sign in to comment.