Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 11, 2023
1 parent efcec42 commit abfa181
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yarn-project/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,7 @@ export function getProgram(log: LogFn, debugLogger: DebugLogger): Command {
} else {
if (!follow && !filter.afterLog) log('Logs found: \n');
logs.forEach(unencryptedLog => log(unencryptedLog.toHumanReadable()));
// Disable `fromBlock` and continue using the `afterLog` filter.
filter.fromBlock = undefined;
// Set the continuation parameter for the following requests
filter.afterLog = logs[logs.length - 1].id;
}
return response.maxLogsHit;
Expand Down

0 comments on commit abfa181

Please sign in to comment.