Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 858caf6

Browse files
committedAug 27, 2024··
refactor: format
1 parent a0389e6 commit 858caf6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
 

‎src/__tests__/Anchor.test.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ test('Anchor', (done) => {
204204
})
205205

206206
pythOracle.methods
207-
.setMaxLatency(1, [0,0,0])
207+
.setMaxLatency(1, [0, 0, 0])
208208
.accounts({ fundingAccount: PublicKey.unique(), priceAccount: PublicKey.unique() })
209209
.instruction()
210210
.then((instruction) => {
@@ -216,7 +216,11 @@ test('Anchor', (done) => {
216216

217217
pythOracle.methods
218218
.initPriceFeedIndex()
219-
.accounts({ fundingAccount: PublicKey.unique(), priceAccount: PublicKey.unique(), permissionsAccount: PublicKey.unique() })
219+
.accounts({
220+
fundingAccount: PublicKey.unique(),
221+
priceAccount: PublicKey.unique(),
222+
permissionsAccount: PublicKey.unique(),
223+
})
220224
.instruction()
221225
.then((instruction) => {
222226
expect(instruction.data).toStrictEqual(Buffer.from([2, 0, 0, 0, 19, 0, 0, 0]))

‎src/anchor/program.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ export type PythOracle = {
688688
},
689689
]
690690
}
691-
}
691+
},
692692
]
693693
args: []
694694
},

0 commit comments

Comments
 (0)
Please sign in to comment.