mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Add throws ConsensusException
This commit is contained in:
parent
ae5b96cca8
commit
22b33b6485
@ -68,7 +68,7 @@ public class VoteResultConsensus {
|
||||
// hex encoded hashOfProposalList for comparision
|
||||
@Nullable
|
||||
public static byte[] getMajorityHash(List<VoteResultService.HashWithStake> hashWithStakeList)
|
||||
throws VoteResultException.ValidationException {
|
||||
throws VoteResultException.ValidationException, VoteResultException.ConsensusException {
|
||||
try {
|
||||
checkArgument(!hashWithStakeList.isEmpty(), "hashWithStakeList must not be empty");
|
||||
} catch (Throwable t) {
|
||||
|
Loading…
Reference in New Issue
Block a user