Skip to content

Commit

Permalink
fix: use current epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Aug 22, 2024
1 parent 4343dce commit e84448f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sdk/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ pub async fn query_proposal_result<C: crate::queries::Client + Sync>(
let proposal_result = match stored_proposal_result {
Some(proposal_result) => proposal_result,
None => {
let tally_epoch = proposal.voting_end_epoch;
let tally_epoch = current_epoch;

let is_author_pgf_steward =
is_steward(client, &proposal.author).await;
Expand Down

0 comments on commit e84448f

Please sign in to comment.