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.

set key to default "" in order for iterator not to fail #28

@Jojoooo1

Description

@Jojoooo1
async getHistoryForKey (key) {
   return await this.handler.handleGetHistoryForKey(key, this.channel_id, this.txId);
}

if key does not exist it will return a MockHistoryQueryIterator where data is undefined { data: undefined, [...] } which will cause errors when executing the iterator.

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