tweaked build of audit tool; added asset_type to destinations in RPC get_* calls

This commit is contained in:
Some Random Crypto Guy
2025-02-28 11:51:35 +00:00
parent 378ec75a6e
commit d5f6cdc0cd
2 changed files with 38 additions and 40 deletions
+2
View File
@@ -390,6 +390,7 @@ namespace tools
wallet_rpc::transfer_destination &td = entry.destinations.back();
td.amount = d.amount;
td.address = d.address(m_wallet->nettype(), pd.m_payment_id);
td.asset_type = pd.m_tx.source_asset_type;
}
entry.asset_type = pd.m_tx.source_asset_type;
@@ -422,6 +423,7 @@ namespace tools
wallet_rpc::transfer_destination &td = entry.destinations.back();
td.amount = d.amount;
td.address = d.address(m_wallet->nettype(), pd.m_payment_id);
td.asset_type = pd.m_tx.source_asset_type;
}
entry.type = is_failed ? "failed" : "pending";