Skip to content

Commit

Permalink
using correct budget when rewarding operators
Browse files Browse the repository at this point in the history
  • Loading branch information
jstuczyn committed Nov 12, 2024
1 parent 6413c2e commit 6049587
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nym-validator-rewarder/src/rewarder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ impl TicketbookIssuanceDetails {

match &self.results {
Some(Ok(issuance)) => {
for (account, issuance_amount) in issuance.rewarding_amounts(&self.total_budget) {
for (account, issuance_amount) in
issuance.rewarding_amounts(&self.per_operator_budget)
{
if issuance_amount[0].amount != 0 {
amounts.push((account, issuance_amount))
}
Expand Down

0 comments on commit 6049587

Please sign in to comment.