#339 - change bitcoin and hive schedule id

This commit is contained in:
Vlad Dobromyslov 2022-04-11 12:44:14 +03:00
parent f1e1844748
commit 508711f764

View file

@ -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
{
static const map<sidechain_type, unsigned_int> schedule_map = {
{ sidechain_type::bitcoin, 1 },
{ sidechain_type::hive, 2 }
{ sidechain_type::hive, 1 },
{ sidechain_type::bitcoin, 2 }
};
return schedule_map.at(type);