You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the AnchorProvider offers the following methods for sending transactions:
sendAndConfirm
sendAll
However, issues arise when using durable nonces because the recentBlockhash field gets overwritten. It would be beneficial to add a check to determine if the field is already set or to make the sendAndConfirmRawTransaction method public to provide more flexibility.
Currently, the
AnchorProvider
offers the following methods for sending transactions:sendAndConfirm
sendAll
However, issues arise when using durable nonces because the
recentBlockhash
field gets overwritten. It would be beneficial to add a check to determine if the field is already set or to make thesendAndConfirmRawTransaction
method public to provide more flexibility.Reference:
anchor/ts/packages/anchor/src/provider.ts
Lines 153 to 155 in 8ec7ec8
The text was updated successfully, but these errors were encountered: