From 2b97636a29ff37935e330006475ee38e509346b2 Mon Sep 17 00:00:00 2001 From: Nico <60229704+Marchand-Nicolas@users.noreply.github.com> Date: Sat, 2 Nov 2024 21:53:48 +0100 Subject: [PATCH] fix: vesu calldata --- src/endpoints/defi/rewards.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoints/defi/rewards.rs b/src/endpoints/defi/rewards.rs index 108405c..9b139ec 100644 --- a/src/endpoints/defi/rewards.rs +++ b/src/endpoints/defi/rewards.rs @@ -359,7 +359,7 @@ async fn fetch_vesu_rewards( } let reward = CommonReward { - amount: amount.into(), + amount: FieldElement::from(disctributed_amount), displayed_amount: amount.into(), proof: result.data.distributor_data.call_data.proof, reward_id: None,