mirror of
https://github.com/corda/corda.git
synced 2025-02-01 08:48:09 +00:00
Carry across a couple of changes from corda-samples that missed the cutover
This commit is contained in:
parent
90b083926f
commit
8654ad72bd
@ -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")
|
||||
|
@ -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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user