mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge b8d55e928d001021b1074e397b8c7a5244a92ad5 into 78dafce146c6e0b1356a848d67738c6c5179aa35
This commit is contained in:
commit
8de310eedf
@ -232,7 +232,9 @@ def store_unspent_outputs(conn, *unspent_outputs):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
except DuplicateKeyError:
|
except DuplicateKeyError:
|
||||||
# TODO log warning at least
|
raise DuplicateKeyError(
|
||||||
|
f'Duplicate keys in transactions [{unspent_outputs}].'
|
||||||
|
)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user