Commit 30c377e4 authored by Igor Stuev's avatar Igor Stuev Committed by GitHub

Interpretation stub for failed txs (#2484)

parent f39c931c
...@@ -94,7 +94,7 @@ const TxSubHeading = ({ hash, hasTag, txQuery }: Props) => { ...@@ -94,7 +94,7 @@ const TxSubHeading = ({ hash, hasTag, txQuery }: Props) => {
return ( return (
<TxInterpretation <TxInterpretation
summary={{ summary={{
summary_template: `{sender_hash} called {method} on {receiver_hash}`, summary_template: `{sender_hash} ${ txQuery.data.status === 'error' ? 'failed to call' : 'called' } {method} on {receiver_hash}`,
summary_template_variables: { summary_template_variables: {
sender_hash: { sender_hash: {
type: 'address', type: 'address',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment