Fix debug build
This commit is contained in:
parent
21c9a84971
commit
c967504235
1 changed files with 3 additions and 0 deletions
|
|
@ -323,6 +323,9 @@ void database::update_witness_schedule(const signed_block& next_block)
|
||||||
void database::update_son_schedule(const signed_block& next_block)
|
void database::update_son_schedule(const signed_block& next_block)
|
||||||
{
|
{
|
||||||
auto start = fc::time_point::now();
|
auto start = fc::time_point::now();
|
||||||
|
#ifndef NDEBUG
|
||||||
|
const son_schedule_object& sso = get(son_schedule_id_type());
|
||||||
|
#endif
|
||||||
const global_property_object& gpo = get_global_properties();
|
const global_property_object& gpo = get_global_properties();
|
||||||
const flat_map<sidechain_type, uint32_t> schedule_needs_filled = [&gpo]()
|
const flat_map<sidechain_type, uint32_t> schedule_needs_filled = [&gpo]()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue