Skip to content

Commit

Permalink
edit examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrinathNR committed Oct 28, 2024
1 parent ea603b8 commit 51f5946
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/escrow/typescript/escrow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default class EscrowProgram {
makerAta,
auth,
escrow.amount,
["auth", escrow.authBump.toBytes()]
["auth", escrow.authBump]
)
}

Expand Down Expand Up @@ -111,14 +111,12 @@ export default class EscrowProgram {
escrow.amount,
)

let seeds: Seeds = ["auth", escrow.authBump.toBytes()];

TokenProgram.transfer(
vault,
takerReceiveAta,
auth,
escrow.amount,
seeds
["auth", escrow.authBump]
)
}
}
Expand Down

0 comments on commit 51f5946

Please sign in to comment.