Give the trader demo buyer lots more cash.

This commit is contained in:
Mike Hearn 2016-08-26 15:30:10 +02:00
parent 5a28b29a7e
commit 958c7f8c9f

View File

@ -205,7 +205,7 @@ private fun runBuyer(node: Node, amount: Amount<Currency>) {
// Self issue some cash. // Self issue some cash.
// //
// TODO: At some point this demo should be extended to have a central bank node. // TODO: At some point this demo should be extended to have a central bank node.
node.services.fillWithSomeTestCash(3000.DOLLARS, node.services.fillWithSomeTestCash(300000.DOLLARS,
outputNotary = node.info.identity, // In this demo, the buyer and notary are the same. outputNotary = node.info.identity, // In this demo, the buyer and notary are the same.
ownedBy = node.services.keyManagementService.freshKey().public) ownedBy = node.services.keyManagementService.freshKey().public)