little fix in libraries/chain/tournament_evaluator.cpp, corrected comparison asset with integer
This commit is contained in:
parent
c60e88d054
commit
a74e66dd24
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ namespace graphene { namespace chain {
|
||||||
FC_ASSERT(op.options.registration_deadline <= maximum_registration_deadline,
|
FC_ASSERT(op.options.registration_deadline <= maximum_registration_deadline,
|
||||||
"Registration deadline must be before ${maximum_registration_deadline}",
|
"Registration deadline must be before ${maximum_registration_deadline}",
|
||||||
("maximum_registration_deadline", maximum_registration_deadline));
|
("maximum_registration_deadline", maximum_registration_deadline));
|
||||||
FC_ASSERT(op.options.buy_in >= 0, "Tournament buy-in may not be negative");
|
FC_ASSERT(op.options.buy_in.amount >= 0, "Tournament buy-in may not be negative");
|
||||||
|
|
||||||
FC_ASSERT(op.options.number_of_players > 1, "If you're going to play with yourself, do it off-chain");
|
FC_ASSERT(op.options.number_of_players > 1, "If you're going to play with yourself, do it off-chain");
|
||||||
// TODO: make this committee-set
|
// TODO: make this committee-set
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue