Unverified Commit c50bdc8f authored by Robert Klotzner's avatar Robert Klotzner Committed by GitHub
Browse files

Fix wrong warning. (#4163)

parent d9494b8b
Pipeline #163800 passed with stages
in 41 minutes and 15 seconds
......@@ -232,7 +232,8 @@ impl DisputeSender {
let valid_vote = votes.valid.get(0).ok_or(NonFatal::MissingVotesFromCoordinator)?;
(valid_vote, our_invalid_vote)
} else {
return Err(From::from(NonFatal::MissingVotesFromCoordinator))
// There is no vote from us yet - nothing to do.
return Ok(())
};
let (kind, valid_index, signature) = valid_vote;
let valid_public = info
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment