diff --git a/web/cashtab/src/components/Common/EnhancedInputs.js b/web/cashtab/src/components/Common/EnhancedInputs.js --- a/web/cashtab/src/components/Common/EnhancedInputs.js +++ b/web/cashtab/src/components/Common/EnhancedInputs.js @@ -84,7 +84,7 @@ diff --git a/web/cashtab/src/components/Common/Ticker.js b/web/cashtab/src/components/Common/Ticker.js --- a/web/cashtab/src/components/Common/Ticker.js +++ b/web/cashtab/src/components/Common/Ticker.js @@ -11,6 +11,7 @@ prefixes: ['bitcoincash', 'ecash'], coingeckoId: 'bitcoin-cash-abc-2', defaultFee: 5.01, + dust: 0.00001, // The minimum amount of BCHA that can be sent by the app blockExplorerUrl: 'https://explorer.bitcoinabc.org', blockExplorerUrlTestnet: 'https://texplorer.bitcoinabc.org', tokenName: 'Bitcoin ABC SLP', diff --git a/web/cashtab/src/components/Send/Send.js b/web/cashtab/src/components/Send/Send.js --- a/web/cashtab/src/components/Send/Send.js +++ b/web/cashtab/src/components/Send/Send.js @@ -344,8 +344,8 @@ error = 'Amount must be a number'; } else if (bchValue <= 0) { error = 'Amount must be greater than 0'; - } else if (bchValue < 0.00001) { - error = `Send amount must be at least 0.00001 ${currency.ticker}`; + } else if (bchValue < currency.dust) { + error = `Send amount must be at least ${currency.dust} ${currency.ticker}`; } else if (bchValue > balances.totalBalance) { error = `Amount cannot exceed your ${currency.ticker} balance`; } else if (!isNaN(bchValue) && bchValue.toString().includes('.')) {