Skip to content

Commit

Permalink
cast protocol fee to int in transfer
Browse files Browse the repository at this point in the history
otherwise the creation of transfers fails.
(for some reason this is not covered in a test)
  • Loading branch information
fhenneke committed Feb 5, 2024
1 parent b726a52 commit 85e07a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch/payouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def prepare_transfers(payout_df: DataFrame, period: AccountingPeriod) -> PeriodP
Transfer(
token=None,
recipient=PROTOCOL_FEE_SAFE,
amount_wei=payout_df.protocol_fee_eth.sum(),
amount_wei=int(payout_df.protocol_fee_eth.sum()),
)
)

Expand Down

0 comments on commit 85e07a4

Please sign in to comment.