Skip to content

Commit

Permalink
refactor(explored-types): change confirmationIndex and confirmationTr…
Browse files Browse the repository at this point in the history
…ansactionID to possibly be null
  • Loading branch information
telestrial committed Oct 25, 2024
1 parent c587068 commit 2bb6a0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-games-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siafoundation/explored-types': minor
---

In ExplorerFileContract, changed confirmationIndex and confirmationTxnID to possibly null.
4 changes: 2 additions & 2 deletions libs/explored-types/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ export type ExplorerFileContract = FileContractElement & {

transactionID: TransactionID

confirmationIndex: ChainIndex
confirmationTransactionID: TransactionID
confirmationIndex: ChainIndex | null
confirmationTransactionID: TransactionID | null

proofIndex: ChainIndex | null
proofTransactionID: TransactionID | null
Expand Down

0 comments on commit 2bb6a0d

Please sign in to comment.