Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/constants/BWCError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export enum BWCErrorName {
MISSING_PARAMETER = 'MISSING_PARAMETER',
MISSING_PRIVATE_KEY = 'MISSING_PRIVATE_KEY',
NO_PASSWORD = 'NO_PASSWORD',
/** @deprecated Typo fixed in BWC 11.10.10. Use NO_TRANSACTION instead */
NO_TRASACTION = 'NO_TRASACTION',
NO_TRANSACTION = 'NO_TRANSACTION',
NOT_AUTHORIZED = 'NOT_AUTHORIZED',
NOT_ENOUGH_FEE = 'NOT_ENOUGH_FEE',
NOT_FOUND = 'NOT_FOUND',
Expand Down Expand Up @@ -198,6 +200,7 @@ const _getErrorMessage = (err: Error) => {
case BWCErrorName.NO_PASSWORD:
return t('No password');
case BWCErrorName.NO_TRASACTION:
case BWCErrorName.NO_TRANSACTION:
return t(
'Your request did not include a transaction. Please try again or contact your wallet provider',
);
Expand Down
Loading