1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #2250 from interfect/master

Don't pass origin as an HTTP header
This commit is contained in:
Frankie 2017-10-03 10:36:39 -07:00 committed by GitHub
commit 948a0b1078

View File

@ -221,7 +221,6 @@ module.exports = class MetamaskController extends EventEmitter {
eth_syncing: false, eth_syncing: false,
web3_clientVersion: `MetaMask/v${version}`, web3_clientVersion: `MetaMask/v${version}`,
}, },
originHttpHeaderKey: 'X-Metamask-Origin',
// account mgmt // account mgmt
getAccounts: (cb) => { getAccounts: (cb) => {
const isUnlocked = this.keyringController.memStore.getState().isUnlocked const isUnlocked = this.keyringController.memStore.getState().isUnlocked