Skip to content

Commit 7a2a35d

Browse files
authored
Don't retry vote if governance canister returns an error (#45)
1 parent 44fef59 commit 7a2a35d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

canister/src/jobs/process_votes.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ async fn process_vote(vote: VoteToProcess) {
127127
log(format!(
128128
"Governance canister returned an error: {error:?}. Args: {args:?}"
129129
));
130-
s.push_vote_to_process(VoteToProcess::PendingWtnVote(pair_id, wtn_vote));
131130
}
132131
Ok(None) => {
133132
log(format!(

0 commit comments

Comments
 (0)