fix: default transaction fee is now 1 (was 0)

This commit is contained in:
Michael Vines
2018-11-27 08:31:06 -08:00
parent 916a5eb3d2
commit b175a53f4b
9 changed files with 20 additions and 9 deletions

View File

@ -23,6 +23,14 @@ export class Loader {
*/
programId: PublicKey;
/**
* Amount of program data placed in each load Transaction
*/
static get chunkSize(): number {
return 256;
}
/**
* @param connection The connection to use
* @param programId Public key that identifies the loader
@ -50,7 +58,7 @@ export class Loader {
),
]);
const chunkSize = 256;
const chunkSize = Loader.chunkSize;
let offset = 0;
let array = data;
let transactions = [];