Re: Question about invokeChaincode api #fabric-chaincode
David Faulstich Diniz Reis
toggle quoted messageShow quoted text
The chaincode has a unique identifier in the network when it is running. If a chaincode calls itself (another function) using invokeChaincode method, an error will occur. You have to call the function directly without using invokeChaincode method.
If a chaincode invokes another chaincode in the same channel, both calls will have their write sets appended to the transaction.
If a chaincode invokes another chaincode in another channel, it will be considered a query and no changes will be applied to the second chaincode state.
Em sex., 17 de dez. de 2021 às 08:24, BigBang019 <zhuxy0000@...> escreveu: