aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/helpers/transactions.util.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/helpers/transactions.util.js')
-rw-r--r--ui/app/helpers/transactions.util.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/app/helpers/transactions.util.js b/ui/app/helpers/transactions.util.js
index 89d2649c9..8ded31bca 100644
--- a/ui/app/helpers/transactions.util.js
+++ b/ui/app/helpers/transactions.util.js
@@ -13,6 +13,7 @@ import {
APPROVE_ACTION_KEY,
SEND_TOKEN_ACTION_KEY,
TRANSFER_FROM_ACTION_KEY,
+ SIGNATURE_REQUEST_KEY,
} from '../constants/transactions'
abiDecoder.addABI(abi)
@@ -41,7 +42,11 @@ export function isConfirmDeployContract (txData = {}) {
}
export function getTransactionActionKey (transaction, methodData) {
- const { txParams: { data } = {} } = transaction
+ const { txParams: { data } = {}, msgParams } = transaction
+
+ if (msgParams) {
+ return SIGNATURE_REQUEST_KEY
+ }
if (isConfirmDeployContract(transaction)) {
return DEPLOY_CONTRACT_ACTION_KEY