-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I'm confused why the JS Client does not mark the accounts needed for signing as signers, for example when creating a transfer instruction
system/clients/js/src/generated/instructions/transferSol.ts
Lines 120 to 123 in 7e5f04e
| const originalAccounts = { | |
| source: { value: input.source ?? null, isWritable: true }, | |
| destination: { value: input.destination ?? null, isWritable: true }, | |
| }; |
It marks both accounts as WRITEABLE.
In createAccount as well,
system/clients/js/src/generated/instructions/createAccount.ts
Lines 140 to 143 in 7e5f04e
| const originalAccounts = { | |
| payer: { value: input.payer ?? null, isWritable: true }, | |
| newAccount: { value: input.newAccount ?? null, isWritable: true }, | |
| }; |
Why is this?
Metadata
Metadata
Assignees
Labels
No labels