diff --git a/node/src/main/kotlin/net/corda/node/services/transactions/BFTSMaRt.kt b/node/src/main/kotlin/net/corda/node/services/transactions/BFTSMaRt.kt index 899ecde450..aa3027559b 100644 --- a/node/src/main/kotlin/net/corda/node/services/transactions/BFTSMaRt.kt +++ b/node/src/main/kotlin/net/corda/node/services/transactions/BFTSMaRt.kt @@ -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: