Merge pull request #139 from corda/clint-issue134

Fixed TransactionSerializationTests.signWireTX by ensuring the signed…
This commit is contained in:
Clinton 2017-01-11 11:39:58 +00:00 committed by GitHub
commit 70bf16be99

View File

@ -69,7 +69,7 @@ class TransactionSerializationTests {
signedTX.verifySignatures()
// Corrupt the data and ensure the signature catches the problem.
signedTX.id.bytes[5] = 0
signedTX.id.bytes[5] = signedTX.id.bytes[5].inc()
assertFailsWith(SignatureException::class) {
signedTX.verifySignatures()
}