How can I test two different responder flows in the same CorDapp?

前端 未结 1 1001
不思量自难忘°
不思量自难忘° 2021-01-17 04:29

I have the following series of flows:

  • Initiator, my initiating flow
  • AliceFlow, which one counterparty uses to respond to
1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-17 04:38

    You need to define your responders in different packages. For example, if AliceFlow is defined in com.template, BobFlow could be defined in com.template2.

    Then, in your flows, register both packages:

    setCordappPackages("com.template", "com.template2")
    

    0 讨论(0)
提交回复
热议问题