From c282ac4d0d097e574aeef189581ee83be5066f11 Mon Sep 17 00:00:00 2001 From: satyakoneru Date: Thu, 27 Feb 2020 11:14:28 +0000 Subject: [PATCH] Add the owner weight threshold similar to witnesses and committee accounts --- libraries/chain/db_init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/chain/db_init.cpp b/libraries/chain/db_init.cpp index 1d7b4370..833e03e4 100644 --- a/libraries/chain/db_init.cpp +++ b/libraries/chain/db_init.cpp @@ -461,7 +461,7 @@ void database::init_genesis(const genesis_state_type& genesis_state) FC_ASSERT(create([this](account_object& a) { a.name = "son-account"; a.statistics = create([&](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.registrar = a.lifetime_referrer = a.referrer = GRAPHENE_SON_ACCOUNT; a.membership_expiration_date = time_point_sec::maximum();