diff --git a/libraries/chain/db_block.cpp b/libraries/chain/db_block.cpp index afa7ca80..5347e675 100644 --- a/libraries/chain/db_block.cpp +++ b/libraries/chain/db_block.cpp @@ -640,7 +640,11 @@ const witness_object& database::validate_block_header( uint32_t skip, const sign witness_id_type scheduled_witness = get_scheduled_witness( slot_num ); -#warning remove this hardfork check for next release +#ifdef _MSC_VER +# pragma message ("WARNING: remove this hardfork check for next release") +#else +# warning remove this hardfork check for next release +#endif if( next_block.block_num() > 58500 ) { FC_ASSERT( next_block.witness == scheduled_witness, "Witness produced block at wrong time", ("block witness",next_block.witness)("scheduled",scheduled_witness)("slot_num",slot_num) ); diff --git a/libraries/chain/vesting_balance_evaluator.cpp b/libraries/chain/vesting_balance_evaluator.cpp index 41780db9..096dea9b 100644 --- a/libraries/chain/vesting_balance_evaluator.cpp +++ b/libraries/chain/vesting_balance_evaluator.cpp @@ -99,7 +99,7 @@ void_result vesting_balance_withdraw_evaluator::do_evaluate( const vesting_balan const time_point_sec now = d.head_block_time(); const vesting_balance_object& vbo = op.vesting_balance( d ); - FC_ASSERT( op.owner == vbo.owner ); + FC_ASSERT( op.owner == vbo.owner, "", ("op.owner", op.owner)("vbo.owner", vbo.owner) ); FC_ASSERT( vbo.is_withdraw_allowed( now, op.amount ), "", ("now", now)("op", op)("vbo", vbo) ); assert( op.amount <= vbo.balance ); // is_withdraw_allowed should fail before this check is reached