Carry across a couple of changes from corda-samples that missed the cutover

This commit is contained in:
Mike Hearn 2016-11-17 15:56:11 +01:00
parent 90b083926f
commit 8654ad72bd
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class AttachmentDemoApi(val services: ServiceHub) {
// Send the transaction to the other recipient
val tx = ptx.toSignedTransaction()
services.invokeProtocolAsync<Unit>(FinalityProtocol::class.java, tx, emptySet<CashCommand>(), setOf(it)).resultFuture.success {
services.invokeProtocolAsync<Unit>(FinalityProtocol::class.java, tx, setOf(it)).resultFuture.success {
logger.info("Successfully sent attachment with the FinalityProtocol")
}.failure {
logger.error("Failed to send attachment with the FinalityProtocol")

View File

@ -90,7 +90,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
cordapps = []
}
node {
name "NodeA"
name "Bank A"
dirName "nodea"
nearestCity "London"
advertisedServices = []
@ -99,7 +99,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
cordapps = []
}
node {
name "NodeB"
name "Bank B"
dirName "nodeb"
nearestCity "New York"
advertisedServices = []