Skip to content

Commit

Permalink
Include transaction fee now that hack is in place to subtract it again
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Feb 7, 2024
1 parent ee9f574 commit 45faef3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn post_upgrade(args: Args) {
user_id: swap.created_by,
timestamp: now,
token_info: swap.token0.clone(),
amount: swap.amount0 - swap.token0.fee,
amount: swap.amount0,
swap_id: swap.id,
reason: PendingPaymentReason::Refund,
});
Expand Down

0 comments on commit 45faef3

Please sign in to comment.