ripple / explorer

Open Source XRP Ledger Explorer
https://livenet.xrpl.org/
MIT License
107 stars 68 forks source link

Unable to look up ledger by ledger hash in the search box #831

Open intelliot opened 1 year ago

intelliot commented 1 year ago

Example: DFBD364C8A518FC936AF4AC68DCBF3282BF40340AA839F8E08AAE74047B55A07

Expected result: show ledger DFBD364C8A518FC936AF4AC68DCBF3282BF40340AA839F8E08AAE74047B55A07

Actual result: search box incorrectly redirects to https://livenet.xrpl.org/nft/DFBD364C8A518FC936AF4AC68DCBF3282BF40340AA839F8E08AAE74047B55A07 as if the hash is being interpreted as an NFT.

Note: some other explorers like XRPSCAN handle this correctly

intelliot commented 1 year ago

(of course, the page says "No NFTs found.")

mvadari commented 1 year ago

I believe hashes only work right now for transactions and NFTs. https://github.com/ripple/explorer/issues/544 addresses the error message.