Skip to content

Commit

Permalink
rusk: update quorum functions
Browse files Browse the repository at this point in the history
  • Loading branch information
fed-franz committed Aug 20, 2024
1 parent 31de71c commit 3c5aeba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rusk/src/lib/node/rusk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ use tracing::{debug, info, warn};

use dusk_bytes::{DeserializableSlice, Serializable};
use dusk_consensus::config::{
ratification_committee_quorum, ratification_extra,
validation_committee_quorum, validation_extra,
RATIFICATION_COMMITTEE_CREDITS, VALIDATION_COMMITTEE_CREDITS,
ratification_extra, ratification_quorum, validation_extra,
validation_quorum, RATIFICATION_COMMITTEE_CREDITS,
VALIDATION_COMMITTEE_CREDITS,
};
use dusk_consensus::operations::{CallParams, VerificationOutput, Voter};
use execution_core::{
Expand Down Expand Up @@ -773,7 +773,7 @@ fn calc_generator_extra_reward(
let reward_per_quota = generator_extra_reward
/ (validation_extra() + ratification_extra()) as u64;

let sum = ratification_committee_quorum() + validation_committee_quorum();
let sum = ratification_quorum() + validation_quorum();
credits.saturating_sub(sum as u64) * reward_per_quota
}

Expand Down

0 comments on commit 3c5aeba

Please sign in to comment.