listpermissions with a comma-separated list

+1 vote

hi,

how do i use listpermissions with a comma-separated list?

this is the error i get, not problems retrieving permissions individually.

multichain-cli chain1 listpermissions "mine, issue"
{"method":"listpermissions","params":["mine, issue"],"id":1,"chain_name":"chain1"}

error: {"code":-5,"message":"Invalid permission"}

thanks,

santosh

 

asked Oct 24, 2015 by santosh

1 Answer

0 votes
I think you need to use a comma without a space.
answered Oct 24, 2015 by MultiChain
d-oh!!
thanks
...