mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
Merge pull request #139 from corda/clint-issue134
Fixed TransactionSerializationTests.signWireTX by ensuring the signed…
This commit is contained in:
commit
70bf16be99
@ -69,7 +69,7 @@ class TransactionSerializationTests {
|
|||||||
signedTX.verifySignatures()
|
signedTX.verifySignatures()
|
||||||
|
|
||||||
// Corrupt the data and ensure the signature catches the problem.
|
// 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) {
|
assertFailsWith(SignatureException::class) {
|
||||||
signedTX.verifySignatures()
|
signedTX.verifySignatures()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user