fabric-node-chaincode-utils icon indicating copy to clipboard operation
fabric-node-chaincode-utils copied to clipboard

Iterator response for getPrivateDataQUeryResult is not an interator

Open diestrin opened this issue 6 years ago • 1 comments

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.

image

This produces the error TypeError: iterator.next is not a function

diestrin avatar Mar 22 '19 15:03 diestrin

Even i got the same issue while fetching private data. iterator.next is not a function. image

jithin03 avatar Sep 11 '20 11:09 jithin03