mirror of
https://github.com/corda/corda.git
synced 2025-06-18 07:08:15 +00:00
Remove the SignedTransaction.id field, which took part in serialisation. Calculate it on demand instead.
This commit is contained in:
@ -167,6 +167,6 @@ class RequeryConfigurationTest {
|
||||
type = TransactionType.General(),
|
||||
timestamp = null
|
||||
)
|
||||
return SignedTransaction(wtx.serialized, listOf(DigitalSignature.WithKey(NullPublicKey, ByteArray(1))), wtx.id)
|
||||
return SignedTransaction(wtx.serialized, listOf(DigitalSignature.WithKey(NullPublicKey, ByteArray(1))))
|
||||
}
|
||||
}
|
@ -156,6 +156,6 @@ class DBTransactionStorageTests {
|
||||
type = TransactionType.General(),
|
||||
timestamp = null
|
||||
)
|
||||
return SignedTransaction(wtx.serialized, listOf(DigitalSignature.WithKey(NullPublicKey, ByteArray(1))), wtx.id)
|
||||
return SignedTransaction(wtx.serialized, listOf(DigitalSignature.WithKey(NullPublicKey, ByteArray(1))))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user