Fix tournament end_time not set bug #20

This commit is contained in:
Eric Frias 2016-11-02 10:57:39 -04:00
parent a17f2e48ed
commit 0ebcf00ae0

View file

@ -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();
}
};