问题
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