refactor: employ prettier

This commit is contained in:
Michael Vines
2018-11-04 11:41:21 -08:00
parent 9a043344d5
commit 1d6abb17cf
35 changed files with 1498 additions and 856 deletions

View File

@ -17,7 +17,9 @@ export class BpfLoader {
* Public key that identifies the BpfLoader
*/
static get programId(): PublicKey {
return new PublicKey('0x8000000000000000000000000000000000000000000000000000000000000000');
return new PublicKey(
'0x8000000000000000000000000000000000000000000000000000000000000000',
);
}
/**
@ -35,7 +37,9 @@ export class BpfLoader {
const programAccount = new Account();
const elf = elfy.parse(elfBytes);
const section = elf.body.sections.find(section => section.name === '.text.entrypoint');
const section = elf.body.sections.find(
section => section.name === '.text.entrypoint',
);
const transaction = SystemProgram.createAccount(
owner.publicKey,