Skip to content

Commit

Permalink
Rm deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Aug 22, 2024
1 parent db404d2 commit 2e796f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createProgramUpgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const createProgramUpgrade = async ({

const tx = new Transaction()
tx.feePayer = wallet.publicKey
tx.recentBlockhash = (await connection.getRecentBlockhash()).blockhash
tx.recentBlockhash = (await connection.getLatestBlockhash()).blockhash
tx.add(...realIxns)
const txid = await sendAndConfirmTransaction(connection, tx, [wallet])

Expand Down

0 comments on commit 2e796f8

Please sign in to comment.