@metamask-previews/transaction-controller 46.0.0-preview-5575cd05 → 46.0.0-preview-a1eb992b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/TransactionController.cjs +1 -4
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +1 -4
- package/dist/TransactionController.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1217,10 +1217,7 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
1217
1217
|
if (!isTxCompleted) {
|
|
1218
1218
|
if (error?.code === rpc_errors_1.errorCodes.provider.userRejectedRequest) {
|
|
1219
1219
|
this.cancelTransaction(transactionId, actionId);
|
|
1220
|
-
throw rpc_errors_1.providerErrors.userRejectedRequest(
|
|
1221
|
-
message: 'MetaMask Tx Signature: User denied transaction signature.',
|
|
1222
|
-
data: error?.data,
|
|
1223
|
-
});
|
|
1220
|
+
throw rpc_errors_1.providerErrors.userRejectedRequest('MetaMask Tx Signature: User denied transaction signature.');
|
|
1224
1221
|
}
|
|
1225
1222
|
else {
|
|
1226
1223
|
this.failTransaction(meta, error, actionId);
|