mirror of
https://github.com/corda/corda.git
synced 2025-02-23 02:22:41 +00:00
Address review comments
This commit is contained in:
parent
97ad07be89
commit
0da057dbd8
@ -263,7 +263,7 @@ private class TraderDemoProtocolBuyer(val otherSide: Party,
|
|||||||
// TODO: This should be moved into the protocol itself.
|
// TODO: This should be moved into the protocol itself.
|
||||||
serviceHub.recordTransactions(listOf(tradeTX))
|
serviceHub.recordTransactions(listOf(tradeTX))
|
||||||
|
|
||||||
logger.info("Purchase complete - we are a happy customer! Final transaction is: " +
|
println("Purchase complete - we are a happy customer! Final transaction is: " +
|
||||||
"\n\n${Emoji.renderIfSupported(tradeTX.tx)}")
|
"\n\n${Emoji.renderIfSupported(tradeTX.tx)}")
|
||||||
|
|
||||||
logIssuanceAttachment(tradeTX)
|
logIssuanceAttachment(tradeTX)
|
||||||
@ -283,7 +283,7 @@ private class TraderDemoProtocolBuyer(val otherSide: Party,
|
|||||||
|
|
||||||
cpIssuance.attachments.first().let {
|
cpIssuance.attachments.first().let {
|
||||||
val p = attachmentsPath.toAbsolutePath().resolve("$it.jar")
|
val p = attachmentsPath.toAbsolutePath().resolve("$it.jar")
|
||||||
logger.info("""
|
println("""
|
||||||
|
|
||||||
The issuance of the commercial paper came with an attachment. You can find it expanded in this directory:
|
The issuance of the commercial paper came with an attachment. You can find it expanded in this directory:
|
||||||
$p
|
$p
|
||||||
|
Loading…
x
Reference in New Issue
Block a user