Browse Source

amount is unsigned

cl-refactor
Joey Zhou 11 years ago
parent
commit
39f5e69b57
  1. 4
      eth/main.cpp
  2. 4
      neth/main.cpp

4
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();

4
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();

Loading…
Cancel
Save