#308 - fix son_object statuses initialization
This commit is contained in:
parent
e217fb94f3
commit
0d74fcf675
1 changed files with 8 additions and 1 deletions
|
|
@ -71,7 +71,14 @@ namespace graphene { namespace chain {
|
|||
public_key_type signing_key;
|
||||
vesting_balance_id_type pay_vb;
|
||||
son_statistics_id_type statistics;
|
||||
flat_map<sidechain_type, son_status> statuses;
|
||||
//! Fixme - delete sidechain type from here
|
||||
flat_map<sidechain_type, son_status> statuses = []()
|
||||
{
|
||||
flat_map<sidechain_type, son_status> statuses;
|
||||
statuses[sidechain_type::bitcoin] = son_status::inactive;
|
||||
statuses[sidechain_type::hive] = son_status::inactive;
|
||||
return statuses;
|
||||
}();
|
||||
flat_map<sidechain_type, string> sidechain_public_keys;
|
||||
|
||||
void pay_son_fee(share_type pay, database& db);
|
||||
|
|
|
|||
Loading…
Reference in a new issue