Expand funding warnings (#4774)
This commit is contained in:
parent
1b8a81db0c
commit
4722017e90
@ -206,7 +206,7 @@ function Transfer ({ className = '', onClose, recipientId: propRecipientId, send
|
||||
<MarkWarning content={t<string>('There is an existing reference count on the sender account. As such the account cannot be reaped from the state.')} />
|
||||
)}
|
||||
{noFees && (
|
||||
<MarkWarning content={t<string>('The transaction, after application of the transfer fees, will drop the balance below the existential deposit. As such the transfer will fail. The account needs more funds to cover the transaction fees.')} />
|
||||
<MarkWarning content={t<string>('The transaction, after application of the transfer fees, will drop the available balance below the existential deposit. As such the transfer will fail. The account needs more free funds to cover the transaction fees.')} />
|
||||
)}
|
||||
</Modal.Column>
|
||||
<Modal.Column>
|
||||
|
||||
@ -60,7 +60,7 @@ function PaymentInfo ({ accountId, className = '', extrinsic }: Props): React.Re
|
||||
}
|
||||
/>
|
||||
{api.consts.balances && !api.tx.balances?.transfer.is(extrinsic) && balances?.accountId.eq(accountId) && balances.availableBalance.sub(dispatchInfo.partialFee).lte(api.consts.balances.existentialDeposit) && (
|
||||
<MarkWarning content={t<string>('The account does not have enough funds to cover the transaction fees without dropping the balance below the account existential amount.')} />
|
||||
<MarkWarning content={t<string>('The account does not have enough free funds (excluding locked/bonded/reserved) available to cover the transaction fees without dropping the balance below the account existential amount.')} />
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user