@atomiqlabs/lp-lib 15.0.8 → 15.0.9

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.
@@ -428,6 +428,7 @@ class SpvVaultSwapHandler extends SwapHandler_1.SwapHandler {
428
428
  code: 20516,
429
429
  msg: "Bitcoin transaction size too large, maximum: " + TX_MAX_VSIZE + " actual: " + txVsize
430
430
  };
431
+ await this.Vaults.checkVaultReplacedTransactions(vault, true);
431
432
  if (swap.vaultUtxo !== vault.getLatestUtxo()) {
432
433
  throw {
433
434
  code: 20510,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/lp-lib",
3
- "version": "15.0.8",
3
+ "version": "15.0.9",
4
4
  "description": "Main functionality implementation for atomiq LP node",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -560,6 +560,7 @@ export class SpvVaultSwapHandler extends SwapHandler<SpvVaultSwap, SpvVaultSwapS
560
560
  msg: "Bitcoin transaction size too large, maximum: "+TX_MAX_VSIZE+" actual: "+txVsize
561
561
  };
562
562
 
563
+ await this.Vaults.checkVaultReplacedTransactions(vault, true);
563
564
  if(swap.vaultUtxo!==vault.getLatestUtxo()) {
564
565
  throw {
565
566
  code: 20510,