update HF check
This commit is contained in:
parent
29f41ec7da
commit
9ffce8f33c
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include <graphene/chain/asset_object.hpp>
|
||||
#include <graphene/chain/database.hpp>
|
||||
#include <graphene/chain/operation_history_object.hpp>
|
||||
#include <graphene/chain/hardfork.hpp>
|
||||
|
||||
#include <fc/io/raw.hpp>
|
||||
#include <fc/uint128.hpp>
|
||||
|
|
@ -268,7 +269,7 @@ map< account_id_type, vector< uint16_t > > asset_object::distribute_winners_part
|
|||
reward_op.is_benefactor_reward = false;
|
||||
reward_op.winner = holders[winner_num];
|
||||
time_point_sec now = time_point::now();
|
||||
if(now < HARDFORK_GPOS_TIME)
|
||||
if(now < HARDFORK_5050_1_TIME)
|
||||
{
|
||||
const static_variant<void_t, uint16_t> tkt_id = ticket_ids[winner_num];
|
||||
reward_op.winner_ticket_id = tkt_id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue