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
votes
It was working fine in corda 3.3.
- viraj
Hi Viraj, can you update this question with the code that causes the error? Does this happen when invoking CollectSignaturesFlow/FinalityFlow or something else?
- Joel
Yes in both flows I have not created this parties session I think that's why it gives the error.
- viraj
1 Answers
1
votes
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.