Skip to content

Commit

Permalink
chore: improve the msg when staking amount exceeds the available balance
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwbabylonlab committed Aug 7, 2024
1 parent 3578201 commit ebd3a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Staking/Form/StakingAmount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const StakingAmount: React.FC<StakingAmountProps> = ({
},
{
valid: satoshis <= btcWalletBalanceSat,
message: `${errorLabel} must be no more than ${satoshiToBtc(btcWalletBalanceSat)} wallet balance.`,
message: `${errorLabel} exceeds your balance (${satoshiToBtc(btcWalletBalanceSat)})!`,
},
{
valid: validateDecimalPoints(value),
Expand Down

0 comments on commit ebd3a71

Please sign in to comment.