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

Set and display ticket purchase height #250

Merged
merged 2 commits into from May 15, 2021
Merged

Conversation

jholdstock
Copy link
Member

I had an ulterior motive when splitting this work out from #245. I suspected that purchase height was not being set correctly in all cases, and I was correct. It was only being set for tickets which were not already mature when added to the VSP, and it was never set for already mature ticket. The first commit in this PR fixes that bug.

The second commit displays the purchase height in the admin page with a link to the block explorer. Purchase height is only shown when the ticket is confirmed because if a ticket is not confirmed, its purchase height is not yet known.

Only show purchase height when the ticket is confirmed, because if a ticket is not confirmed, its purchase height is not yet known.
@dajohi dajohi merged commit b050fc3 into decred:master May 15, 2021
@jholdstock jholdstock deleted the height branch January 25, 2022 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants