From 5bc681db9c6f43c8bbe89a1247958b8fab406945 Mon Sep 17 00:00:00 2001 From: z-bowen Date: Fri, 27 Jul 2018 16:59:34 +0200 Subject: [PATCH] Problem: Unused exception `GenesisBlockAlreadyExistsError` Solution: Deleted it --- bigchaindb/common/exceptions.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bigchaindb/common/exceptions.py b/bigchaindb/common/exceptions.py index 735d8476..280030d3 100644 --- a/bigchaindb/common/exceptions.py +++ b/bigchaindb/common/exceptions.py @@ -96,9 +96,5 @@ class ThresholdTooDeep(ValidationError): """Raised if threshold condition is too deep""" -class GenesisBlockAlreadyExistsError(ValidationError): - """Raised when trying to create the already existing genesis block""" - - class MultipleValidatorOperationError(ValidationError): """Raised when a validator update pending but new request is submited"""