update son-account parameters (#328)
This commit is contained in:
parent
f3a0827d5d
commit
210e72f843
1 changed files with 4 additions and 1 deletions
|
|
@ -1844,7 +1844,10 @@ void perform_son_tasks(database& db)
|
|||
{
|
||||
const auto& son_account = db.create<account_object>([&](account_object& a) {
|
||||
a.name = "son-account";
|
||||
a.statistics = db.create<account_statistics_object>([&](account_statistics_object& s){s.owner = a.id;}).id;
|
||||
a.statistics = db.create<account_statistics_object>([&a](account_statistics_object& s){
|
||||
s.owner = a.id;
|
||||
s.name = a.name;
|
||||
}).id;
|
||||
a.owner.weight_threshold = 1;
|
||||
a.active.weight_threshold = 0;
|
||||
a.registrar = a.lifetime_referrer = a.referrer = a.id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue