fabric-node-chaincode-utils
fabric-node-chaincode-utils copied to clipboard
Iterator response for getPrivateDataQUeryResult is not an interator
When making a call to StubHelper.prototype.getQueryResultAsList using Fabric 1.4 (haven't tested with other versions) and @theledger/[email protected], the iterator response is not an actual iterator, but an object containing an iterator as a prop.

This produces the error TypeError: iterator.next is not a function
Even i got the same issue while fetching private data. iterator.next is not a function.
