Bump size of data for AesCryptTest (#2483)

This commit is contained in:
benthecarman 2021-01-07 07:55:29 -06:00 committed by GitHub
parent dc73cb26ff
commit f2f41bfb58

View file

@ -305,7 +305,7 @@ class AesCryptTest extends BitcoinSUnitTest {
}
it must "fail to decrypt with the wrong key" in {
forAll(NumberGenerator.bytevector.suchThat(_.nonEmpty)) { bytes =>
forAll(NumberGenerator.bytevector.suchThat(_.size > 3)) { bytes =>
val encrypted = AesCrypt.encrypt(bytes, aesKey)
val decryptedE = AesCrypt.decrypt(encrypted, badAesKey)
decryptedE match {