From 4722017e907e0c4ae2bd4d5194eb638c9833433a Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Fri, 5 Mar 2021 09:52:37 +0100 Subject: [PATCH] Expand funding warnings (#4774) --- packages/page-accounts/src/modals/Transfer.tsx | 2 +- packages/react-signer/src/PaymentInfo.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/page-accounts/src/modals/Transfer.tsx b/packages/page-accounts/src/modals/Transfer.tsx index fbff900666..95d0912b29 100644 --- a/packages/page-accounts/src/modals/Transfer.tsx +++ b/packages/page-accounts/src/modals/Transfer.tsx @@ -206,7 +206,7 @@ function Transfer ({ className = '', onClose, recipientId: propRecipientId, send ('There is an existing reference count on the sender account. As such the account cannot be reaped from the state.')} /> )} {noFees && ( - ('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.')} /> + ('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.')} /> )} diff --git a/packages/react-signer/src/PaymentInfo.tsx b/packages/react-signer/src/PaymentInfo.tsx index 97770dcf41..92bac4e51f 100644 --- a/packages/react-signer/src/PaymentInfo.tsx +++ b/packages/react-signer/src/PaymentInfo.tsx @@ -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) && ( - ('The account does not have enough funds to cover the transaction fees without dropping the balance below the account existential amount.')} /> + ('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.')} /> )} );