mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Removed code fences that were causing to not being able to sign correctly (#20560)
This commit is contained in:
parent
d3d30fd373
commit
021c293e46
@ -13,10 +13,8 @@ import { ethErrors, serializeError } from 'eth-rpc-errors';
|
|||||||
import { showCustodianDeepLink } from '@metamask-institutional/extension';
|
import { showCustodianDeepLink } from '@metamask-institutional/extension';
|
||||||
///: END:ONLY_INCLUDE_IN
|
///: END:ONLY_INCLUDE_IN
|
||||||
import {
|
import {
|
||||||
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
|
|
||||||
resolvePendingApproval,
|
resolvePendingApproval,
|
||||||
completedTx,
|
completedTx,
|
||||||
///: END:ONLY_INCLUDE_IN
|
|
||||||
rejectPendingApproval,
|
rejectPendingApproval,
|
||||||
} from '../../../store/actions';
|
} from '../../../store/actions';
|
||||||
import {
|
import {
|
||||||
@ -161,14 +159,11 @@ const SignatureRequest = ({ txData }) => {
|
|||||||
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
|
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
|
||||||
if (accountType === 'custody') {
|
if (accountType === 'custody') {
|
||||||
await custodySignFn(txData);
|
await custodySignFn(txData);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
///: END:ONLY_INCLUDE_IN
|
///: END:ONLY_INCLUDE_IN
|
||||||
|
|
||||||
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
|
|
||||||
await dispatch(resolvePendingApproval(id));
|
await dispatch(resolvePendingApproval(id));
|
||||||
completedTx(id);
|
completedTx(id);
|
||||||
///: END:ONLY_INCLUDE_IN
|
|
||||||
|
|
||||||
trackEvent({
|
trackEvent({
|
||||||
category: MetaMetricsEventCategory.Transactions,
|
category: MetaMetricsEventCategory.Transactions,
|
||||||
|
Loading…
Reference in New Issue
Block a user