1
0
Fork 0
forked from lthn/blockchain

fix for emmit api

This commit is contained in:
cryptozoidberg 2024-08-06 15:51:05 +04:00
parent a1a53012fb
commit 592fe81a47
No known key found for this signature in database
GPG key ID: 2E10CC61CAC8F36D

View file

@ -5408,8 +5408,7 @@ void wallet2::emit_asset(const crypto::public_key asset_id, std::vector<currency
for(auto& dst : ctp.dsts)
{
if (dst.asset_id == asset_id)
dst.asset_id = null_pkey; // emit operation requires null_pkey for emitting asset outputs, fix it ad-hoc here
dst.asset_id = null_pkey; // emit operation requires null_pkey for emitting asset outputs, fix it ad-hoc here
}
finalized_tx ft = AUTO_VAL_INIT(ft);