removed sweeps_parameter_extensions
This commit is contained in:
parent
7944a6db34
commit
c278352713
2 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ void database::adjust_sweeps_vesting_balance(account_id_type account, int64_t de
|
|||
if( delta == 0 )
|
||||
return;
|
||||
|
||||
asset_id_type asset_id = get_global_properties().parameters.extensions.get<sweeps_parameters_extension>().sweeps_distribution_asset;
|
||||
asset_id_type asset_id = get_global_properties().parameters.sweeps_distribution_asset();
|
||||
|
||||
auto& index = get_index_type<sweeps_vesting_balance_index>().indices().get<by_owner>();
|
||||
auto itr = index.find(account);
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ void database_fixture::verify_asset_supplies( const database& db )
|
|||
for( const sweeps_vesting_balance_object& svbo: db.get_index_type< sweeps_vesting_balance_index >().indices() )
|
||||
sweeps_vestings += svbo.balance;
|
||||
|
||||
total_balances[db.get_global_properties().parameters.extensions.get<sweeps_parameters_extension>().sweeps_distribution_asset] += sweeps_vestings / SWEEPS_VESTING_BALANCE_MULTIPLIER;
|
||||
total_balances[db.get_global_properties().parameters.sweeps_distribution_asset()] += sweeps_vestings / SWEEPS_VESTING_BALANCE_MULTIPLIER;
|
||||
total_balances[asset_id_type()] += db.get_dynamic_global_properties().witness_budget;
|
||||
|
||||
for( const auto& item : total_debts )
|
||||
|
|
|
|||
Loading…
Reference in a new issue