util: Remove unused ParseMoney that takes a c_str

This commit is contained in:
MarcoFalke
2020-02-29 00:27:48 +07:00
parent e5753fa4e8
commit fab30b61eb
2 changed files with 2 additions and 6 deletions

View File

@@ -36,14 +36,10 @@ bool ParseMoney(const std::string& str, CAmount& nRet)
if (!ValidAsCString(str)) {
return false;
}
return ParseMoney(str.c_str(), nRet);
}
bool ParseMoney(const char* pszIn, CAmount& nRet)
{
std::string strWhole;
int64_t nUnits = 0;
const char* p = pszIn;
const char* p = str.c_str();
while (IsSpace(*p))
p++;
for (; *p; p++)