Skip to content

Commit

Permalink
Remove tx hash from error message as it isn't propagated anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
refi93 committed Oct 15, 2021
1 parent 8f08c1a commit c380a13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/frontend/errors/errorMessages.ts
Expand Up @@ -58,9 +58,8 @@ const internalErrorMessages: {[key in InternalErrorReason]: (params?: any) => st
`TransactionNotFoundInBlockchainAfterSubmission:
Transaction ${txHash ||
''} not found in blockchain after being submitted. The transaction may or may not have succeeded, check again later please.`,
[InternalErrorReason.TransactionSubmissionTimedOut]: ({txHash}) =>
`Submission of transaction ${txHash ||
''} has timed out, the blockchain is likely congested. It may take up to an hour for the transaction to appear on the blockchain, if it was successful.`,
[InternalErrorReason.TransactionSubmissionTimedOut]: () =>
'Transaction submission has timed out, the blockchain is likely congested. It may take up to an hour for the transaction to appear on the blockchain, if it was successful.',
[InternalErrorReason.TxSerializationError]: ({message}) => `TxSerializationError: ${message}`,

[InternalErrorReason.TrezorSignTxError]: ({message}) => `TrezorSignTxError: ${message}`,
Expand Down

0 comments on commit c380a13

Please sign in to comment.