Typo fixes
This commit is contained in:
parent
c5f2908261
commit
237e2498b3
@ -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)
|
||||
|
||||
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user