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

@ -14,7 +14,9 @@ export class SystemProgram {
* Public key that identifies the System program
*/
static get programId(): PublicKey {
return new PublicKey('0x000000000000000000000000000000000000000000000000000000000000000');
return new PublicKey(
'0x000000000000000000000000000000000000000000000000000000000000000',
);
}
/**
@ -25,9 +27,8 @@ export class SystemProgram {
newAccount: PublicKey,
tokens: number,
space: number,
programId: PublicKey
programId: PublicKey,
): Transaction {
const userdataLayout = BufferLayout.struct([
BufferLayout.u32('instruction'),
BufferLayout.ns64('tokens'),