Removes inconsistencies in wallet.js and Insuff. Balance Modal
This commit is contained in:
parent
7a328f185a
commit
f1bdb5e20d
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue