feat: add skipPreflight option
This commit is contained in:
committed by
Michael Vines
parent
a6e07e44da
commit
8547ae43ce
@@ -86,7 +86,7 @@ test('transaction-payer', async () => {
|
||||
]);
|
||||
await connection.requestAirdrop(accountTo.publicKey, minimumAmount + 21);
|
||||
|
||||
mockGetRecentBlockhash('recent');
|
||||
mockGetRecentBlockhash('max');
|
||||
mockRpc.push([
|
||||
url,
|
||||
{
|
||||
@@ -108,7 +108,7 @@ test('transaction-payer', async () => {
|
||||
const signature = await connection.sendTransaction(transaction, [
|
||||
accountPayer,
|
||||
accountFrom,
|
||||
]);
|
||||
], {skipPreflight: true});
|
||||
|
||||
mockRpc.push([
|
||||
url,
|
||||
|
||||
Reference in New Issue
Block a user