Skip to content

Commit 778fc6a

Browse files
committed
fix: legacy test
1 parent b84e3af commit 778fc6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pegout.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ describe("LiquidityBridgeContractV2 pegout process should", () => {
436436
quote.expireBlock = await ethers.provider
437437
.getBlockNumber()
438438
.then((result) => result + 10);
439-
quote.expireDate = Math.round(Date.now() / 1000) + 100;
439+
quote.expireDate = Math.round(Date.now() / 1000) + 3000;
440440
const { blockHeaderHash, partialMerkleTree, merkleBranchHashes } =
441441
getTestMerkleProof();
442442
const quoteHash = await lbc
@@ -457,7 +457,7 @@ describe("LiquidityBridgeContractV2 pegout process should", () => {
457457
});
458458
await expect(depositTx).to.emit(lbc, "PegOutDeposit");
459459
await hardhatHelpers.mine(9);
460-
await hardhatHelpers.time.increase(200);
460+
await hardhatHelpers.time.increase(6000);
461461

462462
const btcTx = await generateRawTx(lbc, quote);
463463
lbc = lbc.connect(provider.signer);

0 commit comments

Comments
 (0)