From b87017eb678282bf47758ca834e2acbc1cf6e516 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 13 Jul 2023 12:23:33 -0400 Subject: [PATCH] fix: need to use concat not push --- src/client/verifyingProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/verifyingProvider.ts b/src/client/verifyingProvider.ts index 8e2a086..71c6d53 100644 --- a/src/client/verifyingProvider.ts +++ b/src/client/verifyingProvider.ts @@ -464,7 +464,7 @@ export default class VerifyingProvider implements IClientVerifyingProvider { .map((r: any) => r.result) .reduce( (acc, curr, idx, arr) => - idx % 2 === 0 ? acc.push([curr, arr[idx + 1]]) : acc, + idx % 2 === 0 ? acc.concat([[curr, arr[idx + 1]]]) : acc, [], ) as [AccountResponse, CodeResponse][];