@exodus/bitcoin-api 2.5.5 → 2.6.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-api",
3
- "version": "2.5.5",
3
+ "version": "2.6.1",
4
4
  "description": "Exodus bitcoin-api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -26,7 +26,7 @@
26
26
  "@exodus/secp256k1": "4.0.2-exodus.0",
27
27
  "@exodus/simple-retry": "0.0.6",
28
28
  "@exodus/timer": "^1.0.0",
29
- "@noble/secp256k1": "~1.5.3",
29
+ "@noble/secp256k1": "~1.7.1",
30
30
  "bech32": "^1.1.3",
31
31
  "bitcoinjs-lib": "^6.1.5",
32
32
  "coininfo": "5.1.0",
@@ -43,5 +43,5 @@
43
43
  "@scure/btc-signer": "^1.1.0",
44
44
  "jest-when": "^3.5.1"
45
45
  },
46
- "gitHead": "34e27320059c9cb94b150c3206309bfa5ae54671"
46
+ "gitHead": "a1273b693646439bb5343e88521837c33ed82411"
47
47
  }
@@ -485,7 +485,7 @@ export class BitcoinMonitorScanner {
485
485
 
486
486
  const utxosToRemoveCol = UtxoCollection.fromArray(utxosToRemove, { currency })
487
487
  // if something else can update currentStoredUtxos in the meantime, we probably need to grab it from state again
488
- utxoCol = currentStoredUtxos.union(utxoCol.difference(utxosToRemoveCol))
488
+ utxoCol = currentStoredUtxos.union(utxoCol).difference(utxosToRemoveCol)
489
489
 
490
490
  for (let tx of Object.values(unconfirmedTxsToCheck)) {
491
491
  existingTxs.push({ ...tx, dropped: true }) // TODO: this will decrease the chain index, it shouldn't be an issue considering the gap limit