Handle search for Liquid block hashes in search bar. #812
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #797
This PR fixes the bug that it was impossible to search for a Liquid block hash. Liquid TXID, Block and Asset hashes follow the very same pattern.
Try searching with examples:
TXID
fcdf5012156207d1bc6d74a0402553bcfb87b206ebe2dd855ef387db11dd6e87
BLOCK HASH
c24d5201465d2107adb0d3bb7bd2aa750fdef47b5f3b7074409f630b2e938345
ASSET:
a0c358a0f6947864af3a06f3f6a2aeb304df7fd95c922f2f22d7412399ce7691
I am aware that the search component in general needs a full refactor, but the refactor could be in a separate PR, this one is just to fix this annoying bug.