我们不为后续交易参与者提供流程会议-Corda 4 [英] Flow Sessions we're not provided for following transaction participants - Corda 4

查看:35
本文介绍了我们不为后续交易参与者提供流程会议-Corda 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Corda 4中遇到此错误,未为以下交易参与者提供流量会话,我不希望该参与者签署交易,那么为什么会出现此错误?我在状态类中定义了两个参与方,我只希望其中一个可以签署交易,并且我没有为另一参与方创建流会话.请帮助解决此问题.

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.

推荐答案

在Corda 4中,您需要传递 FinalityFlow 包含所有交易参与者的会话列表,以便交易可以相应地分发.

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.

这篇关于我们不为后续交易参与者提供流程会议-Corda 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆