Skip to content

Commit

Permalink
fix(lute): ESLint error in LuteClient
Browse files Browse the repository at this point in the history
  • Loading branch information
drichar committed Mar 13, 2024
1 parent f8e6e6e commit 802d297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/lute/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class LuteClient extends BaseClient {
}, [])

// Sign them with the client.
const result = (await this.#client.signTxns(txnsToSign)) as (Uint8Array | null)[]
const result: (Uint8Array | null)[] = await this.#client.signTxns(txnsToSign)

Check failure on line 169 in src/clients/lute/client.ts

View workflow job for this annotation

GitHub Actions / Run Type Check & Linters

Type '(Uint8Array | null)[] | SignTxnsError' is not assignable to type '(Uint8Array | null)[]'.

const signedTxns = transactions.reduce<Uint8Array[]>((acc, txn, i) => {
if (signedIndexes.includes(i)) {
Expand Down

0 comments on commit 802d297

Please sign in to comment.