forked from lthn/blockchain
wallet: fixed a rare bug in generate_packing_transaction_if_needed (2)
This commit is contained in:
parent
e8ce7c20a3
commit
6a8315364a
1 changed files with 1 additions and 1 deletions
|
|
@ -2334,7 +2334,7 @@ bool wallet2::generate_packing_transaction_if_needed(currency::transaction& tx,
|
|||
if (is_transfer_ready_to_go(m_transfers[*it_ind], fake_outputs_number))
|
||||
++count;
|
||||
}
|
||||
if (count < m_pos_mint_packing_size)
|
||||
if (count <= m_pos_mint_packing_size)
|
||||
return false;
|
||||
construct_tx_param ctp = get_default_construct_tx_param();
|
||||
currency::tx_destination_entry de = AUTO_VAL_INIT(de);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue