Closed philmb3487 closed 4 years ago
` -int64_t ParseAmountContract(const UniValue& value, int propertyType) -{
int64_t ParseAmountContract(const UniValue& value, int propertyType); int64_t ParseAmountContract(const UniValue& value); `
I am not sure what the intent is here, but in any case there's a potential (actually certain) infinite loop here because there's no override with the bool argument. Possibly we should refactor ParseAmount a bit to avoid this confusion.
ParseAmount
Absolutely , very nice catch! @sinetek. We are not using that function anymore, but i have to delete from an unit tests file.
` -int64_t ParseAmountContract(const UniValue& value, int propertyType) -{
int64_t ParseAmountContract(const UniValue& value, int propertyType); int64_t ParseAmountContract(const UniValue& value); `
I am not sure what the intent is here, but in any case there's a potential (actually certain) infinite loop here because there's no override with the bool argument. Possibly we should refactor
ParseAmount
a bit to avoid this confusion.