forked from lthn/blockchain
construct_miner_tx: explicit asset_id for PoS fixed
This commit is contained in:
parent
990f99767d
commit
228d73a39c
1 changed files with 1 additions and 0 deletions
|
|
@ -355,6 +355,7 @@ namespace currency
|
|||
if (pe.stake_unlock_time && pe.stake_unlock_time > height + CURRENCY_MINED_MONEY_UNLOCK_WINDOW)
|
||||
stake_lock_time = pe.stake_unlock_time;
|
||||
destinations.push_back(tx_destination_entry(pe.amount, stakeholder_address, stake_lock_time));
|
||||
destinations.back().explicit_native_asset_id = true; // don't use asset id blinding as it's obvious which asset it is
|
||||
}
|
||||
|
||||
CHECK_AND_ASSERT_MES(destinations.size() <= CURRENCY_TX_MAX_ALLOWED_OUTS || height == 0, false, "Too many outs (" << destinations.size() << ")! Miner tx can't be constructed.");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue