调用链码时,有用于传递参数的-c选项。据我所知(另请参阅Hyperledger fabric: Error: chaincode argument error: json: cannot unmarshal array into Go structfield strArgs.Args of type string),这些参数需要作为字符串数组传递。在上面的例子中,这意味着第三个参数("6")被作为长度为1的字节数组返回,其中54是第一个条目。但是我想用6 (00000110)作为第一个条目来表示长度为1