HomePhabricator

[explorer] Show as much token tx information as possible when the genesis info…

Description

[explorer] Show as much token tx information as possible when the genesis info is missing

Summary:
Since D17470 the explorer don't fail to show a transaction with a non-existing token id. But it also display not much information on the tx page due to missing the genesis info. This diff improves the page under this condition so it shows at least the token type and the error.

Depends on D17470.

Test Plan:

cargo run

Open http://localhost:3035/tx/9f938f1c670fbcee7980c53d7b5a059ab64f5c93dc8290a8d10068b6dd696316

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

Differential Revision: https://reviews.bitcoinabc.org/D17476

Details

Provenance
FabienAuthored on Mon, Jan 6, 19:39
FabienPushed on Tue, Jan 7, 13:25
Reviewer
Restricted Project
Differential Revision
D17476: [explorer] Show as much token tx information as possible when the genesis info is missing
Parents
rABC65c69104773f: Simplify the new mempool transaction validation callback
Branches
Unknown
Tags
Unknown