Error code 32601 method not found adding a second node to blockchain.

+1 vote
When I try to allow a second node to connect to the blockchain I receive this.

boodonkey: multichain-cli boodonkey grant 1PhK5DMbDo55wB2MXZ79Agm5MbrJyXivPrTWkE connect
{"method":"multichain-cli","params":["boodonkey","grant","1PhK5DMbDo55wB2MXZ79Agm5MbrJyXivPrTWkE","connect"],"id":1,"chain_name":"boodonkey"}

error code: -32601
error message:
Method not found

 

I have double checked the address being granted permission and it is the correct address.
asked Oct 21, 2017 by anonymous

2 Answers

0 votes

The following is the code... 

multichain-cli chain  grant 1PhK5DMbDo55wB2MXZ79Agm5MbrJyXivPrTWkE connect
{"method":"grant","params":["1PhK5DMbDo55wB2MXZ79Agm5MbrJyXivPrTWkE","connect"],"id":1,"chain_name":"chain"}

 

In your code, you are getting all in wrong fields.. {"method":"multichain-cli","params":["boodonkey" etc..

what is the extra "boodonkey:" is doing before the multichain-cli .. Please check and run again.. 

 

answered Oct 22, 2017 by saravana
+1 vote

It looks like you are already running with the interactive mode of multichain-cli, communicating with the boodonkey blockchain - in that case you no longer need to enter the "multichain-cli boodonkey" part before each command.

answered Oct 23, 2017 by MultiChain
Hi,
we need to include "multichain-cli boodonkey"  only in case of window version else in linux we can use the direct command.
...