Fix tournament end_time not set bug #20
This commit is contained in:
parent
a17f2e48ed
commit
0ebcf00ae0
1 changed files with 2 additions and 0 deletions
|
|
@ -254,6 +254,8 @@ namespace graphene { namespace chain {
|
|||
fc_ilog(fc::logger::get("tournament"),
|
||||
"Tournament ${id} is complete",
|
||||
("id", fsm.tournament_obj->id));
|
||||
tournament_object& tournament = *fsm.tournament_obj;
|
||||
tournament.end_time = event.db.head_block_time();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue