mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Flow registration takes in a Class object rather than a KClass
This commit is contained in:
@ -31,7 +31,7 @@ class BuyerFlow(val otherParty: Party,
|
||||
it.automaticallyExtractAttachments = true
|
||||
it.storePath
|
||||
}
|
||||
services.registerFlowInitiator(SellerFlow::class) { BuyerFlow(it, attachmentsPath) }
|
||||
services.registerFlowInitiator(SellerFlow::class.java) { BuyerFlow(it, attachmentsPath) }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user