diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 5abc32446..02ec115d1 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -19,6 +19,8 @@ ### Changed +- fix: passing `request` correctly during pollForResponse `Processing` status + - credit: [Senior Joinu](https://forum.dfinity.org/t/timestamp-failed-to-pass-the-watermark-after-retrying-the-configured-3-times/29180/11?) - ci: removing headless browser tests pending a rewrite - ci: changing token for creating release diff --git a/packages/agent/src/polling/index.ts b/packages/agent/src/polling/index.ts index e50c4f7e4..2a18bc265 100644 --- a/packages/agent/src/polling/index.ts +++ b/packages/agent/src/polling/index.ts @@ -68,7 +68,7 @@ export async function pollForResponse( case RequestStatusResponseStatus.Processing: // Execute the polling strategy, then retry. await strategy(canisterId, requestId, status); - return pollForResponse(agent, canisterId, requestId, strategy, currentRequest); + return pollForResponse(agent, canisterId, requestId, strategy, currentRequest, blsVerify); case RequestStatusResponseStatus.Rejected: { const rejectCode = new Uint8Array(