Fix failing prediction market test

This commit is contained in:
Nathan Hourt 2015-06-26 10:57:38 -04:00
parent 5b55ab71ea
commit a626b0685f

View file

@ -400,7 +400,7 @@ const asset_object& database_fixture::create_bitasset(
creator.fee = asset();
creator.symbol = name;
creator.common_options.max_supply = GRAPHENE_MAX_SHARE_SUPPLY;
creator.precision = GRAPHENE_BLOCKCHAIN_PRECISION_DIGITS;
creator.precision = 2;
creator.common_options.market_fee_percent = market_fee_percent;
creator.common_options.issuer_permissions = flags;
creator.common_options.flags = flags & ~global_settle;
@ -425,7 +425,7 @@ const asset_object& database_fixture::create_prediction_market(
creator.fee = asset();
creator.symbol = name;
creator.common_options.max_supply = GRAPHENE_MAX_SHARE_SUPPLY;
creator.precision = 2;
creator.precision = GRAPHENE_BLOCKCHAIN_PRECISION_DIGITS;
creator.common_options.market_fee_percent = market_fee_percent;
creator.common_options.issuer_permissions = flags | global_settle;
creator.common_options.flags = flags & ~global_settle;