aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-01-28 17:28:17 +0800
committerFabio Berger <me@fabioberger.com>2018-01-28 17:28:17 +0800
commitb4faa4851a08fd526a6ffc546eed575b796a5b3d (patch)
treecba090bdad43434a6bdec3d2bf1392eeef8e94bf /packages/website/ts/utils
parent71d68f975cd7bc089f0cbef4e5888a73eab4ee42 (diff)
downloaddexon-sol-tools-b4faa4851a08fd526a6ffc546eed575b796a5b3d.tar
dexon-sol-tools-b4faa4851a08fd526a6ffc546eed575b796a5b3d.tar.gz
dexon-sol-tools-b4faa4851a08fd526a6ffc546eed575b796a5b3d.tar.bz2
dexon-sol-tools-b4faa4851a08fd526a6ffc546eed575b796a5b3d.tar.lz
dexon-sol-tools-b4faa4851a08fd526a6ffc546eed575b796a5b3d.tar.xz
dexon-sol-tools-b4faa4851a08fd526a6ffc546eed575b796a5b3d.tar.zst
dexon-sol-tools-b4faa4851a08fd526a6ffc546eed575b796a5b3d.zip
Properly detect user signing cancellation on Metamask, Parity signer and Ledger
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 13a6d6ae2..23db8c0a7 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -183,7 +183,7 @@ export const utils = {
// after a user was prompted to sign a message or send a transaction and decided to
// reject the request.
didUserDenyWeb3Request(errMsg: string) {
- const metamaskDenialErrMsg = 'User denied message';
+ const metamaskDenialErrMsg = 'User denied';
const paritySignerDenialErrMsg = 'Request has been rejected';
const ledgerDenialErrMsg = 'Invalid status 6985';
const isUserDeniedErrMsg =