fix: store

This commit is contained in:
danisharora099 2022-11-22 23:03:31 +05:30
parent b8c5d27a3c
commit 1314930765
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
1 changed files with 1 additions and 2 deletions

View File

@ -309,9 +309,8 @@ async function* paginate<T extends DecodedMessage>(
}
let currentCursor = cursor;
while (true) {
queryOpts = Object.assign(queryOpts, { currentCursor });
queryOpts.cursor = currentCursor;
const stream = await connection.newStream(protocol);
const historyRpcQuery = HistoryRPC.createQuery(queryOpts);