Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add block hash in the /status route #159

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Conversation

pshenmic
Copy link
Owner

Issue

To correctly show and update link to the latest block hash on the homepage, we need to also supply a block hash together with height and timestamp

Things done

  • Fixed missing optional chaining for genesis time in case TD is not available
  • Added hash to the info about latest blocks in the getStatus() api method

@pshenmic pshenmic added the backend Related to backend (API) label Jun 18, 2024
@pshenmic pshenmic self-assigned this Jun 18, 2024
Copy link

vercel bot commented Jun 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer-zham ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 7:26pm

@pshenmic pshenmic merged commit 2c5edc5 into master Jun 18, 2024
8 checks passed
@owl352 owl352 deleted the feat/add-status-block-hash branch November 23, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant