You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
I set up hyperledger fabric network using single member in amazon manged blockchain. I have used this rest api. It worked properly. Then I added one more member follwoing this document. I have added endorsement policy as below,
Now I need to add peer of new member in this config file I have added like "peers":["peer1", "peer2"]. But I am getting the following error in REST Server.
[2020-09-02 05:54:20.915] [ERROR] invoke-chaincode - Error: Peer with name "peer2" not assigned to this channel
at Channel._getTargets (/var/www/html/network/node_modules/fabric-client/lib/Channel.js:3515:13)
at Channel.sendTransactionProposal (/var/www/html/network/node_modules/fabric-client/lib/Channel.js:2791:26)
at Object.invokeChaincode (/var/www/html/network/app/invoke-transaction.js:41:31)
at <anonymous>
[2020-09-02 05:54:20.915] [ERROR] invoke-chaincode - Failed to invoke chaincode. cause:Error: Peer with name "peer2" not assigned to this channel
Help me what peer name should I use here for peer of newly added member.
The text was updated successfully, but these errors were encountered:
I set up hyperledger fabric network using single member in amazon manged blockchain. I have used this rest api. It worked properly. Then I added one more member follwoing this document. I have added endorsement policy as below,
Now I need to add peer of new member in this config file I have added like
"peers":["peer1", "peer2"]
. But I am getting the following error in REST Server.Help me what peer name should I use here for peer of newly added member.
The text was updated successfully, but these errors were encountered: