From 86d6ee011092bcec2b26cb9a9519ffde5b532c7b Mon Sep 17 00:00:00 2001 From: Andras Slemmer Date: Fri, 26 Aug 2016 17:30:27 +0100 Subject: [PATCH] node: Cash Issue doesn't require notary --- .../com/r3corda/node/services/monitor/WalletMonitorService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/main/kotlin/com/r3corda/node/services/monitor/WalletMonitorService.kt b/node/src/main/kotlin/com/r3corda/node/services/monitor/WalletMonitorService.kt index 8c7690f0cb..ebefa7b7bf 100644 --- a/node/src/main/kotlin/com/r3corda/node/services/monitor/WalletMonitorService.kt +++ b/node/src/main/kotlin/com/r3corda/node/services/monitor/WalletMonitorService.kt @@ -201,7 +201,7 @@ class WalletMonitorService(net: MessagingService, val smm: StateMachineManager, // TODO: Make a lightweight protocol that manages this workflow, rather than embedding it directly in the service private fun issueCash(req: ClientToServiceCommand.IssueCash): TransactionBuildResult { - val builder: TransactionBuilder = TransactionType.General.Builder(notary = req.notary) + val builder: TransactionBuilder = TransactionType.General.Builder(notary = null) val issuer = PartyAndReference(services.storageService.myLegalIdentity, req.issueRef) Cash().generateIssue(builder, req.amount.issuedBy(issuer), req.recipient.owningKey, req.notary) builder.signWith(services.storageService.myLegalIdentityKey)