Update max core supply in genesis, properly track total supply for vesting balances in bts accounts
This commit is contained in:
parent
c0813aadfd
commit
e53e9f8623
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"initial_timestamp": "2017-05-30T08:09:05",
|
||||
"max_core_supply": "546053259451",
|
||||
"max_core_supply": "1446051993031",
|
||||
"initial_parameters": {
|
||||
"current_fees": {
|
||||
"parameters": [[
|
||||
|
|
|
|||
|
|
@ -674,6 +674,7 @@ void database::init_genesis(const genesis_state_type& genesis_state)
|
|||
new_vesting_policy.coin_seconds_earned_last_update = initial_cdd_vesting_policy.coin_seconds_earned_last_update;
|
||||
vbo.policy = new_vesting_policy;
|
||||
}
|
||||
total_supplies[get_asset_id(vesting_balance.asset_symbol)] += vesting_balance.amount;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue