Flow Sessions we're not provided for following transaction participants - Corda 4

匆匆过客 提交于 2019-12-24 10:57:06

问题


i am getting this error in corda 4 Flow sessions were not provided for the following transaction participants I don't want this participant to sign my transaction then why I got this error? I have two parties defined in my state class and I want only one of them of to sign the transaction, and I didn't created the flow session for the other party. Please help to resolve this.


回答1:


In Corda 4, you are required to pass FinalityFlow a list of sessions that includes all of the transaction's participants, so that the transaction can be distributed accordingly.

Just because someone is in this list of participants, it does not make them a required signer. The required signers are determined by the public keys listed on the transaction's commands.



来源:https://stackoverflow.com/questions/54777158/flow-sessions-were-not-provided-for-following-transaction-participants-corda

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!