fixed returntype in chain_parameters.hpp

This commit is contained in:
Prabhjot 2019-07-31 10:22:51 -04:00 committed by gladcow
parent dbf22af503
commit c4817dc8b4

View file

@ -116,10 +116,10 @@ namespace graphene { namespace chain {
inline uint16_t sweeps_distribution_percentage()const { inline uint16_t sweeps_distribution_percentage()const {
return extensions.value.sweeps_distribution_percentage.valid() ? *extensions.value.sweeps_distribution_percentage : SWEEPS_DEFAULT_DISTRIBUTION_PERCENTAGE; return extensions.value.sweeps_distribution_percentage.valid() ? *extensions.value.sweeps_distribution_percentage : SWEEPS_DEFAULT_DISTRIBUTION_PERCENTAGE;
} }
inline uint16_t sweeps_distribution_asset()const { inline asset_id_type sweeps_distribution_asset()const {
return extensions.value.sweeps_distribution_asset.valid() ? *extensions.value.sweeps_distribution_asset : SWEEPS_DEFAULT_DISTRIBUTION_ASSET; return extensions.value.sweeps_distribution_asset.valid() ? *extensions.value.sweeps_distribution_asset : SWEEPS_DEFAULT_DISTRIBUTION_ASSET;
} }
inline uint16_t sweeps_vesting_accumulator_account()const { inline account_id_type sweeps_vesting_accumulator_account()const {
return extensions.value.sweeps_vesting_accumulator_account.valid() ? *extensions.value.sweeps_vesting_accumulator_account : SWEEPS_ACCUMULATOR_ACCOUNT; return extensions.value.sweeps_vesting_accumulator_account.valid() ? *extensions.value.sweeps_vesting_accumulator_account : SWEEPS_ACCUMULATOR_ACCOUNT;
} }
}; };