forked from lthn/blockchain
fix for emmit api
This commit is contained in:
parent
a1a53012fb
commit
592fe81a47
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue