fix parenthesis
This commit is contained in:
parent
b6f63706f3
commit
57ce93ccb8
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ angular
|
|||
function shiftIt(coinIn, coinOut, withdrawalAddress, returnAddress, amount, cb) {
|
||||
// Test if the amount is correct depending on the min and max
|
||||
if (!amount || typeof amount !== 'number') {
|
||||
cb(new Error(gettextCatalog.getString('Amount is not defined'))));
|
||||
cb(new Error(gettextCatalog.getString('Amount is not defined')));
|
||||
} else if (amount < service.marketData.minimum) {
|
||||
cb(new Error(gettextCatalog.getString('Amount is below the minimun')));
|
||||
} else if (amount > service.marketData.maxLimit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue