Skip to content

Commit

Permalink
fix: Resolving compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
robdmoore committed Nov 25, 2023
1 parent a8cbf58 commit c80d1b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export function getAlgodTransactionFromBlockTransaction(
txn.gh = Buffer.from(block.gh)
txn.gen = block.gen
// Unset gen if `hgi` isn't set
if (!blockTransaction.hgi) txn.gen = null
// eslint-disable-next-line @typescript-eslint/no-explicit-any
if (!blockTransaction.hgi) txn.gen = null as any

// todo: support these?
if (txn.type === 'stpf' || txn.type === 'keyreg') {
Expand Down

0 comments on commit c80d1b0

Please sign in to comment.