Skip to content

Commit

Permalink
Fix typo in msg posted on slack (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang authored Jan 14, 2025
1 parent c27cf14 commit a552291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/models/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def summarize(transfers: list[Transfer]) -> str:
t.amount_wei for t in transfers if t.token_type == TokenType.ERC20
)
return (
f"Total ETH Funds needed: {eth_total / 10 ** 18:.4f}\n"
f"Total Native Token Funds needed: {eth_total / 10 ** 18:.4f}\n"
f"Total COW Funds needed: {cow_total / 10 ** 18:.4f}\n"
)

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_summarize(self):
)
self.assertEqual(
result,
"Total ETH Funds needed: 123.4568\nTotal COW Funds needed: 10000000.0000\n",
"Total Native Token Funds needed: 123.4568\nTotal COW Funds needed: 10000000.0000\n",
)


Expand Down

0 comments on commit a552291

Please sign in to comment.