Explorar o código

tests: Fix escrow (#767)

Armani Ferrante %!s(int64=4) %!d(string=hai) anos
pai
achega
2c0dd22eee
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      tests/escrow/tests/escrow.js

+ 0 - 4
tests/escrow/tests/escrow.js

@@ -89,9 +89,6 @@ describe("escrow", () => {
           tokenProgram: TOKEN_PROGRAM_ID,
           rent: anchor.web3.SYSVAR_RENT_PUBKEY,
         },
-        instructions: [
-          await program.account.escrowAccount.createInstruction(escrowAccount),
-        ],
         signers: [escrowAccount],
       }
     );
@@ -178,7 +175,6 @@ describe("escrow", () => {
           tokenProgram: TOKEN_PROGRAM_ID,
           rent: anchor.web3.SYSVAR_RENT_PUBKEY,
         },
-        instructions: [await program.account.escrowAccount.createInstruction(newEscrow)],
         signers: [newEscrow],
       }
     );