diff --git a/eth/main.cpp b/eth/main.cpp index bd9b5e01b..5b6d5a802 100644 --- a/eth/main.cpp +++ b/eth/main.cpp @@ -446,8 +446,6 @@ int main(int argc, char** argv) if (size > 0) cwarn << "Invalid address length: " << size; } - else if (amount < 0) - cwarn << "Invalid amount: " << amount; else if (gasPrice < info.minGasPrice) cwarn << "Minimum gas price is " << info.minGasPrice; else if (gas < minGas) @@ -515,8 +513,6 @@ int main(int argc, char** argv) if (size > 0) cwarn << "Invalid address length: " << size; } - else if (amount < 0) - cwarn << "Invalid amount: " << amount; else { auto const& bc = c.blockChain(); diff --git a/neth/main.cpp b/neth/main.cpp index 929f3cbc5..e70487c1f 100644 --- a/neth/main.cpp +++ b/neth/main.cpp @@ -665,8 +665,6 @@ int main(int argc, char** argv) if (size > 0) cwarn << "Invalid address length: " << size; } - else if (amount < 0) - cwarn << "Invalid amount: " << amount; else if (gasPrice < info.minGasPrice) cwarn << "Minimum gas price is " << info.minGasPrice; else if (gas < minGas) @@ -712,8 +710,6 @@ int main(int argc, char** argv) if (size > 0) cwarn << "Invalid address length: " << size; } - else if (amount <= 0) - cwarn << "Invalid amount: " << amount; else { auto const& bc = c.blockChain();