Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Iterator response for getPrivateDataQUeryResult is not an interator #24

@diestrin

Description

@diestrin

When making a call to StubHelper.prototype.getQueryResultAsList using Fabric 1.4 (haven't tested with other versions) and @theledger/fabric-chaincode-utils@4.0.3, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions