建议和反馈

请填写你的反馈内容

感谢您对链客的信任!

恭喜您填写完个人简历!链客专注于区块链职位连接,帮助您的投递更加精准高效,赶快去选择自己心仪的岗位吧!

推动中国区块链事业发展始终是我们坚定不移的梦——链客团队

问答 > 智能合约 > 问答详情

Fabric-SDK-Java 创建channel时异常

Fabric-SDK-Java版本是1.01

代码如下

client.setUserContext(org1.getPeerAdmin()); Class<? extends FabricServiceImpl> clazz = this.getClass(); File fTx = new File(clazz.getResource(fooConfig.getTx()).toURI()); ChannelConfiguration configuration = new ChannelConfiguration(fTx); byte[] signature = client.getChannelConfigurationSignature (configuration, org1.getPeerAdmin()); // 创建共识 Orderer order = client.newOrderer(order1Config.getName(), order1Config.getLoc() , getOrderProperties()); // 创建通道 Channel channel = client.newChannel(name, order, configuration, signature); // 创建Peer Peer peer0 = client.newPeer(peer0Config.getOrg1Name(), peer0Config.getOrg1Loc());

1547693747_279085.jpg1547693758_16069.jpg以下是orderer报的错, 跪求原因.. Rejecting CONFIG_UPDATE because: Error authorizing update: Error validating ReadSet: Readset expected key [Groups] /Channel/Application at version 0, but got version 1

1547693433_244705.jpg

樱花YING

2019-04-15

353

0

撰写答案

请先登陆或注册

0个回答

邀请

感谢您的善举,每一次解答会成为新人的灯塔,回答被采纳后获得20算力和相应的LK币奖励