Warn on large bond amount (#6585)

This commit is contained in:
Jaco 2021-11-21 15:00:15 +01:00 committed by GitHub
parent d7fecf413f
commit 40c3e9c45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ function ValidateAmount ({ currentAmount, isNominating, minNominated, minNominat
let newWarning: string | null = null;
if (check.gte(maxBond)) {
newError = t('The specified value is too large and does not allow funds to pay future transaction fees.');
newWarning = t('The specified value is large and may not allow enough funds to pay future transaction fees.');
} else if (check.lt(existentialDeposit)) {
newError = t('The bonded amount is less than the minimum bond amount of {{existentialDeposit}}', {
replace: { existentialDeposit: formatExistential(existentialDeposit) }