From b89c8fec13fcdba6142f4fd183f74bbc616f30d4 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Wed, 7 Oct 2020 18:57:39 -0230 Subject: [PATCH] Fix version used by TransactionController#confirmTransaction (#9503) --- app/scripts/controllers/transactions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/controllers/transactions/index.js b/app/scripts/controllers/transactions/index.js index 70b361983..ace8d6043 100644 --- a/app/scripts/controllers/transactions/index.js +++ b/app/scripts/controllers/transactions/index.js @@ -586,7 +586,7 @@ export default class TransactionController extends EventEmitter { } if (txMeta.swapMetaData) { - let { version } = this.platform + let { version } = this if (process.env.METAMASK_ENVIRONMENT !== 'production') { version = `${version}-${process.env.METAMASK_ENVIRONMENT}` }