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

Handle errors when retrieving sat address #4094

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

casey
Copy link
Collaborator

@casey casey commented Nov 21, 2024

Revise #4016 a bit.

We can make SatHtml::address an address, since it doesn't need to be serialized or deserialized.

I made error handling stricter. If we have a satpoint, we should be able to retrieve both a transaction, and an output. If we can't get either, then it should be an internal error, since it indicates something is wrong with our index.

@casey casey marked this pull request as ready for review November 21, 2024 19:15
@casey casey enabled auto-merge (squash) November 21, 2024 19:20
@casey casey merged commit 79f7c8e into ordinals:master Nov 21, 2024
5 checks passed
@casey casey deleted the revise-sat-address branch November 21, 2024 19:26
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.

2 participants