Skip to content

Commit

Permalink
Don't retry vote if governance canister returns an error (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Dec 28, 2024
1 parent 44fef59 commit 7a2a35d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion canister/src/jobs/process_votes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ async fn process_vote(vote: VoteToProcess) {
log(format!(
"Governance canister returned an error: {error:?}. Args: {args:?}"
));
s.push_vote_to_process(VoteToProcess::PendingWtnVote(pair_id, wtn_vote));
}
Ok(None) => {
log(format!(
Expand Down

0 comments on commit 7a2a35d

Please sign in to comment.