fix: Add preliminary handling for credit-only account designation

This commit is contained in:
Tyera Eulberg
2019-05-23 18:24:38 -06:00
committed by Michael Vines
parent 78ad376bcd
commit c99d8dd15c
9 changed files with 156 additions and 110 deletions

View File

@ -78,7 +78,7 @@ export class Loader {
);
const transaction = new Transaction().add({
keys: [{pubkey: program.publicKey, isSigner: true}],
keys: [{pubkey: program.publicKey, isSigner: true, isDebitable: true}],
programId,
data,
});
@ -117,7 +117,7 @@ export class Loader {
);
const transaction = new Transaction().add({
keys: [{pubkey: program.publicKey, isSigner: true}],
keys: [{pubkey: program.publicKey, isSigner: true, isDebitable: true}],
programId,
data,
});