From a74e66dd24b677c5d4be1a9dfdf9836c94d35fae Mon Sep 17 00:00:00 2001 From: Roman Olearski Date: Mon, 10 Apr 2017 20:07:08 +0200 Subject: [PATCH] little fix in libraries/chain/tournament_evaluator.cpp, corrected comparison asset with integer --- libraries/chain/tournament_evaluator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/chain/tournament_evaluator.cpp b/libraries/chain/tournament_evaluator.cpp index 57d35088..1f811290 100644 --- a/libraries/chain/tournament_evaluator.cpp +++ b/libraries/chain/tournament_evaluator.cpp @@ -18,7 +18,7 @@ namespace graphene { namespace chain { FC_ASSERT(op.options.registration_deadline <= maximum_registration_deadline, "Registration deadline must be before ${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"); // TODO: make this committee-set