Fix version used by TransactionController#confirmTransaction (#9503)

feature/default_network_editable
Whymarrh Whitby 4 years ago committed by GitHub
parent 392f9eafc2
commit b89c8fec13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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}`
}

Loading…
Cancel
Save