mirror of
https://github.com/corda/corda.git
synced 2025-03-23 12:35:23 +00:00
CORDA-1119 - Sign in DB transaction (#2651)
This commit is contained in:
parent
64933c07c6
commit
b625dc7417
@ -248,7 +248,7 @@ object BFTSMaRt {
|
||||
/** Generates a transaction signature over the specified transaction [txId]. */
|
||||
protected fun sign(txId: SecureHash): TransactionSignature {
|
||||
val signableData = SignableData(txId, SignatureMetadata(services.myInfo.platformVersion, Crypto.findSignatureScheme(notaryIdentityKey).schemeNumberID))
|
||||
return services.keyManagementService.sign(signableData, notaryIdentityKey)
|
||||
return services.database.transaction { services.keyManagementService.sign(signableData, notaryIdentityKey) }
|
||||
}
|
||||
|
||||
// TODO:
|
||||
|
Loading…
x
Reference in New Issue
Block a user