@cityofzion/bs-ethereum 3.1.5 → 3.1.6

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.
@@ -217,11 +217,12 @@ class BSEthereum {
217
217
  const addressUrl = this.explorerService.buildAddressUrl(address);
218
218
  const transactions = [];
219
219
  let error;
220
+ let nonce = await signer.getTransactionCount('pending');
220
221
  for (const intent of intents) {
221
222
  try {
222
223
  const { transactionParams, gasPrice } = await this._buildTransferParams(intent);
223
224
  let gasLimit;
224
- transactionParams.nonce = await signer.getTransactionCount('pending');
225
+ transactionParams.nonce = nonce++;
225
226
  try {
226
227
  gasLimit = await signer.estimateGas(transactionParams);
227
228
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cityofzion/bs-ethereum",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
4
4
  "repository": "https://github.com/CityOfZion/blockchain-services",
5
5
  "license": "GPL-3.0-only",
6
6
  "author": "Coz",
@@ -19,7 +19,7 @@
19
19
  "@ledgerhq/hw-app-eth": "~7.3.0",
20
20
  "axios": "~1.13.5",
21
21
  "ethers": "5.8.0",
22
- "@cityofzion/blockchain-service": "3.1.5"
22
+ "@cityofzion/blockchain-service": "3.1.6"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@ledgerhq/hw-transport": "~6.32.0",