Skip to content

Commit

Permalink
feat(vesting-cancel): added networkParams initialization
Browse files Browse the repository at this point in the history
#106 (comment)

BREAKING CHANGE:
  • Loading branch information
aleeusgr committed May 29, 2023
1 parent 5af9447 commit 3bfac82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helios-vesting-cancel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ describe("a vesting contract: Cancel transaction", async () => {
context.alice = alice;
context.bob = bob;
context.network = network;

})

it ("docs the tx ingridients", async ({network, alice, validatorHash}) => {
Expand Down Expand Up @@ -139,6 +138,7 @@ describe("a vesting contract: Cancel transaction", async () => {
tx.addCollateral(colatUtxo);


const newnp = network.initNetworkParams(networkParams);
await tx.finalize(networkParams, ownerAddress, [spareUtxo]);

expect(networkParams.slotToTime(initSlot)).toBe(1677108984000n)
Expand Down

0 comments on commit 3bfac82

Please sign in to comment.