Skip to content

Commit

Permalink
fix: test case to reset vote
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStefan committed Feb 7, 2024
1 parent 6e321c0 commit 60694df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/marinade-finance-instructions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ describe('Marinade Finance', () => {
const { transaction } = await marinade.deposit(
MarinadeUtils.solToLamports(0.01)
)

const voteIx = await marinade.createDirectedStakeVoteIx()
if (voteIx) transaction.instructions.push(voteIx)

const transactionSignature = await TestWorld.PROVIDER.sendAndConfirm(
transaction,
[],
Expand Down

0 comments on commit 60694df

Please sign in to comment.