Removes inconsistencies in wallet.js and Insuff. Balance Modal

This commit is contained in:
hackrush 2017-09-02 23:32:13 +05:30
parent 7a328f185a
commit f1bdb5e20d
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ export function doSendDraftTransaction() {
const balance = selectBalance(state);
const amount = selectDraftTransactionAmount(state);
if (balance - amount < 1) {
if (balance - amount <= 0) {
return dispatch(doOpenModal(modals.INSUFFICIENT_BALANCE));
}

View file

@ -16,7 +16,7 @@ class ModalInsufficientBalance extends React.PureComponent {
onConfirmed={addBalance}
>
{__(
"Insufficient balance: after this transaction you would have less than 1 LBC in your wallet."
"Insufficient balance: after this transaction you would have less than 0 LBCs in your wallet."
)}
</Modal>
);