From d5599deab7c97c0032e5c14873ea2e87f71db53e Mon Sep 17 00:00:00 2001 From: Alex Ni <12097569+nialexsan@users.noreply.github.com> Date: Fri, 20 Oct 2023 16:13:10 -0400 Subject: [PATCH] revert changes for loop --- packages/sdk/src/resolve/resolve-signatures.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/sdk/src/resolve/resolve-signatures.js b/packages/sdk/src/resolve/resolve-signatures.js index e5a5d2f2c..e8b48b45a 100644 --- a/packages/sdk/src/resolve/resolve-signatures.js +++ b/packages/sdk/src/resolve/resolve-signatures.js @@ -15,10 +15,7 @@ export async function resolveSignatures(ix) { try { let insideSigners = findInsideSigners(ix) const insidePayload = encodeInsideMessage(prepForEncoding(ix)) - for(const insideSigner of insideSigners) { - await fetchSignature(ix, insidePayload)(insideSigner); - } - // await Promise.all(insideSigners.map(fetchSignature(ix, insidePayload))) + await Promise.all(insideSigners.map(fetchSignature(ix, insidePayload))) let outsideSigners = findOutsideSigners(ix) const outsidePayload = encodeOutsideMessage({