diff --git a/index.mjs b/index.mjs index 815c5e8..e3b88dc 100644 --- a/index.mjs +++ b/index.mjs @@ -73,7 +73,7 @@ const createWSolAccount = async () => { transaction.add(...instructions); transaction.recentBlockhash = await ( - await connection.getRecentBlockhash() + await connection.getLatestBlockhash() ).blockhash; transaction.partialSign(wallet.payer); const result = await connection.sendTransaction(transaction, [