chore: prettier fixes
This commit is contained in:
parent
be53ab5aa4
commit
b9ade46c41
|
@ -1296,8 +1296,9 @@ export class Connection {
|
|||
}
|
||||
if (attempts === 50) {
|
||||
throw new Error(
|
||||
`Unable to obtain a new blockhash after ${Date.now() -
|
||||
startTime}ms`,
|
||||
`Unable to obtain a new blockhash after ${
|
||||
Date.now() - startTime
|
||||
}ms`,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ export class Transaction {
|
|||
}
|
||||
});
|
||||
|
||||
allKeys.sort(function(x, y) {
|
||||
allKeys.sort(function (x, y) {
|
||||
const checkSigner = x.isSigner === y.isSigner ? 0 : x.isSigner ? -1 : 1;
|
||||
const checkWritable =
|
||||
x.isWritable === y.isWritable ? 0 : x.isWritable ? -1 : 1;
|
||||
|
|
|
@ -202,7 +202,7 @@ test('get program accounts', async () => {
|
|||
);
|
||||
expect(programAccounts.length).toBe(2);
|
||||
|
||||
programAccounts.forEach(function(element) {
|
||||
programAccounts.forEach(function (element) {
|
||||
expect([
|
||||
account0.publicKey.toBase58(),
|
||||
account1.publicKey.toBase58(),
|
||||
|
|
Loading…
Reference in New Issue