fixed returntype in chain_parameters.hpp

This commit is contained in:
Prabhjot 2019-07-31 10:22:51 -04:00
parent 7044e5c782
commit 7944a6db34

View file

@ -119,10 +119,10 @@ namespace graphene { namespace chain {
inline uint16_t sweeps_distribution_percentage()const {
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;
}
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;
}
};