Update tx-size-small comment with relevant CVE disclosure

This commit is contained in:
Gregory Sanders
2019-09-16 12:11:05 -04:00
parent cd737214ce
commit c4b0c08f7c
2 changed files with 4 additions and 1 deletions

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