Skip to content

Commit

Permalink
Fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
evangriffiths committed Feb 19, 2024
1 parent e53a84c commit 2baef4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prediction_market_agent_tooling/markets/data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2baef4e

Please sign in to comment.