diff --git a/backend/canisters/escrow/impl/src/lifecycle/post_upgrade.rs b/backend/canisters/escrow/impl/src/lifecycle/post_upgrade.rs index 7d5178be5b..6419c4f2a2 100644 --- a/backend/canisters/escrow/impl/src/lifecycle/post_upgrade.rs +++ b/backend/canisters/escrow/impl/src/lifecycle/post_upgrade.rs @@ -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, });