Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
fix: remove default from reward vec (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptokage1996 authored Jun 20, 2024
1 parent 3a6293d commit 29d25a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/src/query_resp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ impl GetLeverageLpRewardsResp {
&self,
querier: &ElysQuerier<'_>,
) -> StdResult<Vec<RewardInfoMappedToCoinValue>> {
let mut reward_info = vec![RewardInfoMappedToCoinValue::default()];
let mut reward_info: Vec<RewardInfoMappedToCoinValue> = vec![];

for reward in &self.rewards {
let mut coin_values = vec![];
Expand Down

0 comments on commit 29d25a6

Please sign in to comment.