forked from lthn/blockchain
wallet2: fix for a rare bug in asset deployment that occurs when there are few ZC outputs
This commit is contained in:
parent
5620e453b6
commit
dd80d202ad
1 changed files with 1 additions and 0 deletions
|
|
@ -4499,6 +4499,7 @@ void wallet2::deploy_new_asset(const currency::asset_descriptor_base& asset_info
|
|||
construct_tx_param ctp = get_default_construct_tx_param();
|
||||
ctp.dsts = destinations;
|
||||
ctp.extra.push_back(asset_reg_info);
|
||||
ctp.need_at_least_1_zc = true;
|
||||
|
||||
finalized_tx ft = AUTO_VAL_INIT(ft);
|
||||
this->transfer(ctp, ft, true, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue