Add the owner weight threshold similar to witnesses and committee accounts
This commit is contained in:
parent
1d8b6ed845
commit
c282ac4d0d
1 changed files with 1 additions and 1 deletions
|
|
@ -461,7 +461,7 @@ void database::init_genesis(const genesis_state_type& genesis_state)
|
||||||
FC_ASSERT(create<account_object>([this](account_object& a) {
|
FC_ASSERT(create<account_object>([this](account_object& a) {
|
||||||
a.name = "son-account";
|
a.name = "son-account";
|
||||||
a.statistics = create<account_statistics_object>([&](account_statistics_object& s){s.owner = a.id;}).id;
|
a.statistics = create<account_statistics_object>([&](account_statistics_object& s){s.owner = a.id;}).id;
|
||||||
a.owner.weight_threshold = 0;
|
a.owner.weight_threshold = 1;
|
||||||
a.active.weight_threshold = 0;
|
a.active.weight_threshold = 0;
|
||||||
a.registrar = a.lifetime_referrer = a.referrer = GRAPHENE_SON_ACCOUNT;
|
a.registrar = a.lifetime_referrer = a.referrer = GRAPHENE_SON_ACCOUNT;
|
||||||
a.membership_expiration_date = time_point_sec::maximum();
|
a.membership_expiration_date = time_point_sec::maximum();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue