Browse Source

Apparently its a good idea to hide tx hash from user

master
meriadec 7 years ago
parent
commit
2045cec2b5
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 5
      src/components/modals/Send/steps/04-step-confirmation.js
  2. 2
      static/i18n/en/app.yml

5
src/components/modals/Send/steps/04-step-confirmation.js

@ -62,16 +62,13 @@ export default function StepConfirmation({ t, optimisticOperation, error }: Step
<Icon size={43} />
</span>
<Title>{t(`${tPrefix}.title`)}</Title>
<Text style={{ userSelect: 'text' }}>
<Text style={{ userSelect: 'text' }} color="smoke">
{optimisticOperation ? (
multiline(t(`${tPrefix}.text`))
) : error ? (
<TranslatedError error={error} />
) : null}
</Text>
<Text style={{ userSelect: 'text' }}>
{optimisticOperation ? optimisticOperation.hash : ''}
</Text>
</Container>
)
}

2
static/i18n/en/app.yml

@ -284,7 +284,7 @@ send:
success:
title: Transaction sent
text: |
The transaction has been signed and sent to the network. Your account balance will update once the blockchain has confirmed the transaction. It has the following Transaction ID:
The transaction has been signed and sent to the network. Your account balance will update once the blockchain has confirmed the transaction.
cta: View operation details
error:
title: Transaction canceled

Loading…
Cancel
Save