mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Add an exception message
This commit is contained in:
parent
6c31ab0a7c
commit
c1b6f60f70
@ -115,7 +115,7 @@ class Transaction(Transaction):
|
|||||||
.format(self.operation, allowed_operations))
|
.format(self.operation, allowed_operations))
|
||||||
|
|
||||||
if not self.inputs_valid(input_conditions):
|
if not self.inputs_valid(input_conditions):
|
||||||
raise InvalidSignature()
|
raise InvalidSignature('Transaction signature is invalid.')
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user