mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
Added missing dependency on finance cordapp. (#3059)
This commit is contained in:
parent
7ac7e9911e
commit
493b8a99a0
@ -3,6 +3,7 @@ package net.corda.bank
|
||||
import joptsimple.OptionParser
|
||||
import net.corda.bank.api.BankOfCordaClientApi
|
||||
import net.corda.bank.api.BankOfCordaWebApi.IssueRequestParams
|
||||
import net.corda.cordform.CordappDependency
|
||||
import net.corda.cordform.CordformContext
|
||||
import net.corda.cordform.CordformDefinition
|
||||
import net.corda.core.contracts.Amount
|
||||
@ -25,7 +26,7 @@ private const val BOC_RPC_ADMIN_PORT = 10015
|
||||
private const val BOC_WEB_PORT = 10007
|
||||
|
||||
class BankOfCordaCordform : CordformDefinition() {
|
||||
// TODO: Readd finance dependency - will fail without it
|
||||
|
||||
init {
|
||||
node {
|
||||
name(NOTARY_NAME)
|
||||
@ -60,6 +61,10 @@ class BankOfCordaCordform : CordformDefinition() {
|
||||
}
|
||||
|
||||
override fun setup(context: CordformContext) = Unit
|
||||
|
||||
override fun getCordappDependencies(): List<CordappDependency> {
|
||||
return listOf(CordappDependency(":finance"))
|
||||
}
|
||||
}
|
||||
|
||||
object DeployNodes {
|
||||
|
Loading…
Reference in New Issue
Block a user