so this commit contains a new GENESIS TX with the revised TX format - no pricing_record_height etc. Lots of reworking of tests because of changes to function prototypes, etc

This commit is contained in:
Some Random Crypto Guy
2023-10-27 06:14:59 +01:00
parent 8e2c6a81df
commit aefeb0f83a
55 changed files with 514 additions and 227 deletions
@@ -1003,9 +1003,11 @@ namespace cryptonote
LOG_ERROR("Source Asset type " << source << " is not supported! Rejecting..");
return false;
}
if (std::find(oracle::ASSET_TYPES.begin(), oracle::ASSET_TYPES.end(), destination) == oracle::ASSET_TYPES.end()) {
LOG_ERROR("Destination Asset type " << destination << " is not supported! Rejecting..");
return false;
if (destination != "BURN") {
if (std::find(oracle::ASSET_TYPES.begin(), oracle::ASSET_TYPES.end(), destination) == oracle::ASSET_TYPES.end()) {
LOG_ERROR("Destination Asset type " << destination << " is not supported! Rejecting..");
return false;
}
}
return true;