update hardcoded sal assets to sal1

This commit is contained in:
akildemir
2025-04-15 14:21:38 +03:00
parent fe3297271f
commit 6d2960612f
3 changed files with 13 additions and 17 deletions
+1 -5
View File
@@ -1138,11 +1138,7 @@ bool tx_builder_ringct_t::init(
// misc. fields
unsigned_tx.unlock_time = unlock_time;
unsigned_tx.type = (tx_type == cryptonote::transaction_type::RETURN) ? cryptonote::TRANSFER : tx_type;
unsigned_tx.source_asset_type = "SAL";
if (tx_type == cryptonote::transaction_type::BURN)
unsigned_tx.destination_asset_type = "BURN";
else
unsigned_tx.destination_asset_type = "SAL";
unsigned_tx.source_asset_type = "SAL1";
// sort inputs
sort_sources(sources);