Skip to content

Commit

Permalink
Fix Fireblocks block hash type (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalderipe authored Jan 17, 2025
1 parent b42048c commit d827d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/vault/src/broker/http/client/fireblocks.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export type TransactionFeeInfo = z.infer<typeof TransactionFeeInfo>

const TransactionBlockInfo = z.object({
blockHeight: z.string().optional(),
blockHash: z.string().nullable()
blockHash: z.string().optional()
})

const TransactionParty = z.object({
Expand All @@ -183,7 +183,7 @@ const Transaction = z.object({
amountUSD: z.number(),
assetId: z.string(),
assetType: z.string(),
blockInfo: TransactionBlockInfo.optional(),
blockInfo: TransactionBlockInfo,
createdAt: z.number(),
createdBy: z.string(),
destination: TransactionParty,
Expand Down

0 comments on commit d827d52

Please sign in to comment.