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