MyHush/SilentDragonAndroid

Don't render explorer link if no txid exists yet

Opened this issue · 0 comments

leto commented

If one clicks on an "Unconfirmed" transaction, all it's details appear to view, as well as an explorer link.

If the GUI has not yet received an opid, we 100% know there is not yet a txid submitted to the local mempool and 100% no chance the txid can be looked up. Users clicking on it will just be confused. No explorer link should be rendered if no txid exists yet.

It could be the case that we have received an opid back but no txid yet. That is another edge case.

Finally, if we have a success response from z_getoperationstatus, we know we can render the explorer link, which is what we do unconditionally currently.