@atomiqlabs/chain-evm 1.0.0-dev.40 → 1.0.0-dev.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -117,7 +117,7 @@ class EVMTransactions extends EVMModule_1.EVMModule {
|
|
|
117
117
|
const txIds = [];
|
|
118
118
|
if (parallel) {
|
|
119
119
|
const promises = [];
|
|
120
|
-
for (let i = 0; i <
|
|
120
|
+
for (let i = 0; i < txs.length; i++) {
|
|
121
121
|
let tx;
|
|
122
122
|
if (signer.isBrowserWallet) {
|
|
123
123
|
tx = await signer.account.sendTransaction(txs[i]);
|
|
@@ -136,7 +136,7 @@ class EVMTransactions extends EVMModule_1.EVMModule {
|
|
|
136
136
|
await Promise.all(promises);
|
|
137
137
|
}
|
|
138
138
|
else {
|
|
139
|
-
for (let i = 0; i <
|
|
139
|
+
for (let i = 0; i < txs.length; i++) {
|
|
140
140
|
let tx;
|
|
141
141
|
if (signer.isBrowserWallet) {
|
|
142
142
|
tx = await signer.account.sendTransaction(txs[i]);
|
package/package.json
CHANGED
|
@@ -141,7 +141,7 @@ export class EVMTransactions extends EVMModule<any> {
|
|
|
141
141
|
const txIds: string[] = [];
|
|
142
142
|
if(parallel) {
|
|
143
143
|
const promises: Promise<void>[] = [];
|
|
144
|
-
for(let i=0;i<
|
|
144
|
+
for(let i=0;i<txs.length;i++) {
|
|
145
145
|
let tx: {nonce: number, from: string, hash: string};
|
|
146
146
|
if(signer.isBrowserWallet) {
|
|
147
147
|
tx = await signer.account.sendTransaction(txs[i]);
|
|
@@ -156,7 +156,7 @@ export class EVMTransactions extends EVMModule<any> {
|
|
|
156
156
|
}
|
|
157
157
|
if(promises.length>0) await Promise.all(promises);
|
|
158
158
|
} else {
|
|
159
|
-
for(let i=0;i<
|
|
159
|
+
for(let i=0;i<txs.length;i++) {
|
|
160
160
|
let tx: {nonce: number, from: string, hash: string};
|
|
161
161
|
if(signer.isBrowserWallet) {
|
|
162
162
|
tx = await signer.account.sendTransaction(txs[i]);
|