Skip to content

Commit

Permalink
Remove extra input form
Browse files Browse the repository at this point in the history
  • Loading branch information
JBetz committed Apr 11, 2024
1 parent 48870bd commit 982acbf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/exchangerates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ bool ExchangeRateMap::LoadExchangeRatesFromJSONFile(fs::path file_path, std::str
CAmount exchangeRateValue;
if (assetData.isNum()) {
exchangeRateValue = assetData.get_int64();
} else if (assetData.isObject()) {
std::map<std::string, UniValue> assetFields;
assetData.getObjMap(assetFields);
exchangeRateValue = assetFields["value"].get_int();
} else {
error = strprintf("Invalid value for asset %s: %d", assetIdentifier, assetData.getValStr());
return false;
Expand Down

0 comments on commit 982acbf

Please sign in to comment.