Skip to content

Commit

Permalink
fix: Keyblock height is missing in contract details panel (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek committed Aug 23, 2023
1 parent 4e007a6 commit a244b83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/ContractDetailsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@
</hint-tooltip>
</th>
<td class="contract-details-panel__data">
<app-link :to="`/keyblocks/${contractDetails.creationHeight}`">
{{ contractDetails.creationHeight }}
</app-link>
(
<datetime-label :datetime="contractDetails.creationDate"/>
)
</td>
</tr>
<tr
Expand Down
1 change: 1 addition & 0 deletions src/utils/adapters.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ export function adaptContractDetails(
createTransactionHash: contractCreationTx?.hash,
createdBy: contractCreationTx?.tx.callerId,
creationDate: DateTime.fromMillis(contractCreationTx?.microTime),
creationHeight: contractCreationTx.blockHeight,
bytecode: contractCreationTx?.tx.code,
contractAccount: rawContractInformation?.id.replace('ct_', 'ak_'),
contractAccountBalance,
Expand Down

0 comments on commit a244b83

Please sign in to comment.