fixed returntype in chain_parameters.hpp
This commit is contained in:
parent
dbf22af503
commit
c4817dc8b4
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue