From 2baef4e0c9d1aa52033838de6473bbde29eab3b3 Mon Sep 17 00:00:00 2001 From: evangriffiths Date: Mon, 19 Feb 2024 12:54:26 +0000 Subject: [PATCH] Fix mypy error --- prediction_market_agent_tooling/markets/data_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prediction_market_agent_tooling/markets/data_models.py b/prediction_market_agent_tooling/markets/data_models.py index 47160913..51141947 100644 --- a/prediction_market_agent_tooling/markets/data_models.py +++ b/prediction_market_agent_tooling/markets/data_models.py @@ -236,7 +236,7 @@ class ManifoldBetFees(BaseModel): creatorFee: Decimal def get_total(self) -> Decimal: - return sum([self.platformFee, self.liquidityFee, self.creatorFee]) + return Decimal(sum([self.platformFee, self.liquidityFee, self.creatorFee])) class ManifoldBet(BaseModel):