fix: update accounts to readonly/writable

This commit is contained in:
Tyera Eulberg
2019-11-06 10:42:01 -07:00
committed by Michael Vines
parent 58550733fb
commit d0c89f7fa3
8 changed files with 49 additions and 58 deletions

View File

@ -111,8 +111,8 @@ test('non-SystemInstruction error', () => {
const badProgramId = {
keys: [
{pubkey: from.publicKey, isSigner: true, isDebitable: true},
{pubkey: to.publicKey, isSigner: false, isDebitable: false},
{pubkey: from.publicKey, isSigner: true, isWritable: true},
{pubkey: to.publicKey, isSigner: false, isWritable: true},
],
programId: BudgetProgram.programId,
data: Buffer.from([2, 0, 0, 0]),