1
0
Fork 0
forked from lthn/blockchain

removed forcefully nullifying asset_id in emit_asset() (it's up to the caller now)

This commit is contained in:
sowle 2024-09-24 01:26:04 +02:00
parent f0891a36e8
commit 2fc37934cf
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -5453,9 +5453,6 @@ void wallet2::emit_asset(const crypto::public_key& asset_id, const std::vector<c
ctp.need_at_least_1_zc = true;
ctp.tx_meaning_for_logs = "asset emission";
for(auto& dst : ctp.dsts)
dst.asset_id = null_pkey; // emit operation requires null_pkey for emitting asset outputs, fix it ad-hoc here
bool send_to_network = true;
if (last_adb.owner_eth_pub_key.has_value())
{