While executing a submitTransaction method i am getting an error like "2020-04-30T17:18:11.313Z - warn: [Transaction]: _validatePeerResponses: Received error response from peer: message=transaction returned with failure: Error: Expected 2 parameters, but 1 have been supplied, stack=Error: transaction returned with failure: Error: Expected 2 parameters, but 1 have been supplied"
Previously, I was getting a error like "No orderer was found", So I did some changes in my code. After connecting to the channel through the gateway, I used the object to fetch channel, All peers and orderer that is connected to "pharmachannel" but from the output, I only got all the peers but i haven't got any orderer back.
I have checked the orderer logs and I have found a failed RPC error connection.
So my question is
1.why orderer is not connected to my channel and why it is giving RPC error
2. I have successfully instantiated the chaincode but why I am getting an error from client SDK

