Skip to content

Commit

Permalink
error, lucid
Browse files Browse the repository at this point in the history
  • Loading branch information
aleeusgr committed Apr 25, 2023
1 parent c1cf2dd commit e26ca18
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/lucid.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ describe('TestSuite: ', () => {

const lucid = await Lucid.new(emulator);

//
const mintingPolicy: MintingPolicy = lucid.utils.nativeScriptFromJson(
{
type: "all",
scripts: [
{ type: "sig", keyHash: paymentCredential?.hash! },
{
type: "before",
slot: lucid.utils.unixTimeToSlot(Date.now() + 1000000),
},
],
},
);
//why this?
lucid.selectWalletFromSeed(lender.seedPhrase);
const recipient =
Expand Down

0 comments on commit e26ca18

Please sign in to comment.