From ed23f3ea8e0e9ae8946b0c9015203c08cbeb6b64 Mon Sep 17 00:00:00 2001 From: TheAlan404 Date: Wed, 17 Jan 2024 15:35:00 +0300 Subject: [PATCH] fix #330 --- wasm/nodejs/generator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wasm/nodejs/generator.js b/wasm/nodejs/generator.js index 7dc23248e..d6a55338e 100644 --- a/wasm/nodejs/generator.js +++ b/wasm/nodejs/generator.js @@ -78,6 +78,7 @@ const { encoding, networkId, destinationAddress: destinationAddressArg } = requi // sequence of transactions // for a requested amount of KAS. // sign and submit these transactions + let pending; while (pending = await generator.next()) { await pending.sign([privateKey]); let txid = await pending.submit(rpc);