We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf98c8e commit da7329dCopy full SHA for da7329d
rewards/src/services/namada.rs
@@ -25,9 +25,13 @@ pub async fn query_delegation_pairs(
25
data.into_iter()
26
.fold(HashSet::new(), |mut acc, (bond_id, _)| {
27
acc.insert(DelegationPair {
28
- validator_address: Id::from(bond_id.validator),
+ validator_address: Id::from(bond_id.validator.clone()),
29
delegator_address: Id::from(bond_id.source),
30
});
31
+ acc.insert(DelegationPair {
32
33
+ delegator_address: Id::from(bond_id.validator),
34
+ });
35
acc
36
37
0 commit comments