Remove the SignedTransaction.id field, which took part in serialisation. Calculate it on demand instead.

This commit is contained in:
Mike Hearn
2017-02-18 16:14:41 +00:00
parent 0b33b52d1a
commit b8942a2cc9
7 changed files with 17 additions and 16 deletions

View File

@ -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))))
}
}

View File

@ -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))))
}
}