Update tx-size-small comment with relevant CVE disclosure

This commit is contained in:
Gregory Sanders committed 2019-09-18 16:21:44 -04:00
1 parent cd737214ce
commit c4b0c08f7c
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -82,6 +82,8 @@ class InputMissing(BadTxTemplate):
return tx
# The following check prevents exploit of lack of merkle
# tree depth commitment (CVE-2017-12842)
class SizeTooSmall(BadTxTemplate):
reject_reason = "tx-size-small"
expect_disconnect = False