#339 - change bitcoin and hive schedule id
This commit is contained in:
parent
f1e1844748
commit
508711f764
1 changed files with 2 additions and 2 deletions
|
|
@ -77,8 +77,8 @@ witness_id_type database::get_scheduled_witness( uint32_t slot_num )const
|
||||||
unsigned_int database::get_son_schedule_id( sidechain_type type )const
|
unsigned_int database::get_son_schedule_id( sidechain_type type )const
|
||||||
{
|
{
|
||||||
static const map<sidechain_type, unsigned_int> schedule_map = {
|
static const map<sidechain_type, unsigned_int> schedule_map = {
|
||||||
{ sidechain_type::bitcoin, 1 },
|
{ sidechain_type::hive, 1 },
|
||||||
{ sidechain_type::hive, 2 }
|
{ sidechain_type::bitcoin, 2 }
|
||||||
};
|
};
|
||||||
|
|
||||||
return schedule_map.at(type);
|
return schedule_map.at(type);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue