fix: add Clock sysvar to AuthorizeWithSeed instruction
This commit is contained in:
@ -646,6 +646,7 @@ export class StakeProgram {
|
|||||||
keys: [
|
keys: [
|
||||||
{pubkey: stakePubkey, isSigner: false, isWritable: true},
|
{pubkey: stakePubkey, isSigner: false, isWritable: true},
|
||||||
{pubkey: authorityBase, isSigner: true, isWritable: false},
|
{pubkey: authorityBase, isSigner: true, isWritable: false},
|
||||||
|
{pubkey: SYSVAR_CLOCK_PUBKEY, isSigner: false, isWritable: false},
|
||||||
],
|
],
|
||||||
programId: this.programId,
|
programId: this.programId,
|
||||||
data,
|
data,
|
||||||
|
Reference in New Issue
Block a user