fix: need to use concat not push
This commit is contained in:
parent
6ef18dbc05
commit
b87017eb67
|
@ -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][];
|
||||
|
||||
|
|
Loading…
Reference in New Issue