Typo fixes

This commit is contained in:
sairaj mote 2022-04-15 18:15:00 +05:30
parent c5f2908261
commit 237e2498b3
2 changed files with 7 additions and 7 deletions

View File

@ -1694,7 +1694,7 @@
}
}
catch (err) {
if ((err.data || err) === 'Insufficiant token balance' && asset === 'rupee') {
if ((err.data || err) === 'Insufficient token balance' && asset === 'rupee') {
showWalletResult('error', `Failed`, err.data || err, 'open-upi')
} else {
showWalletResult('error', `Failed`, err.data || err)

View File

@ -42,7 +42,7 @@
return reject("Invalid amount");
this.getBalance(senderID, token).then(bal => {
if (amount > bal)
return reject("Insufficiant token balance");
return reject(`Insufficient ${token} balance`);
floBlockchainAPI.writeData(senderID, `send ${amount} ${token}# ${message}`, privKey, receiverID)
.then(txid => resolve(txid))
.catch(error => reject(error))