chore: run lint
This commit is contained in:
committed by
Michael Vines
parent
7181d3aeea
commit
ebda95bd11
@ -297,9 +297,13 @@ export class StakeProgram {
|
|||||||
{pubkey: stakeAccount, isSigner: false, isWritable: true},
|
{pubkey: stakeAccount, isSigner: false, isWritable: true},
|
||||||
{pubkey: votePubkey, isSigner: false, isWritable: false},
|
{pubkey: votePubkey, isSigner: false, isWritable: false},
|
||||||
{pubkey: SYSVAR_CLOCK_PUBKEY, isSigner: false, isWritable: false},
|
{pubkey: SYSVAR_CLOCK_PUBKEY, isSigner: false, isWritable: false},
|
||||||
{pubkey: SYSVAR_STAKE_HISTORY_PUBKEY, isSigner: false, isWritable: false},
|
{
|
||||||
|
pubkey: SYSVAR_STAKE_HISTORY_PUBKEY,
|
||||||
|
isSigner: false,
|
||||||
|
isWritable: false,
|
||||||
|
},
|
||||||
{pubkey: STAKE_CONFIG_ID, isSigner: false, isWritable: false},
|
{pubkey: STAKE_CONFIG_ID, isSigner: false, isWritable: false},
|
||||||
{pubkey: authorizedPubkey, isSigner: true, isWritable: false}
|
{pubkey: authorizedPubkey, isSigner: true, isWritable: false},
|
||||||
],
|
],
|
||||||
programId: this.programId,
|
programId: this.programId,
|
||||||
data,
|
data,
|
||||||
|
@ -658,9 +658,7 @@ test('get confirmed block', async () => {
|
|||||||
result: null,
|
result: null,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
await expect(
|
await expect(connection.getConfirmedBlock(10000)).rejects.toThrow();
|
||||||
connection.getConfirmedBlock(10000),
|
|
||||||
).rejects.toThrow();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('get recent blockhash', async () => {
|
test('get recent blockhash', async () => {
|
||||||
|
Reference in New Issue
Block a user