From 7a2a35d1c923a20c1a0bbffdbfb12d3a15d2f54a Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Sat, 28 Dec 2024 14:24:57 +0000 Subject: [PATCH] Don't retry vote if governance canister returns an error (#45) --- canister/src/jobs/process_votes.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/canister/src/jobs/process_votes.rs b/canister/src/jobs/process_votes.rs index 81d707f..209f2be 100644 --- a/canister/src/jobs/process_votes.rs +++ b/canister/src/jobs/process_votes.rs @@ -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!(