mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge branch 'master' into AddAnnouncerScript
This commit is contained in:
commit
e4fc96c503
@ -7,6 +7,7 @@
|
|||||||
- Fix bug where chosen FIAT exchange rate does no persist when switching networks
|
- Fix bug where chosen FIAT exchange rate does no persist when switching networks
|
||||||
- Fix additional parameters that made MetaMask sometimes receive errors from Parity.
|
- Fix additional parameters that made MetaMask sometimes receive errors from Parity.
|
||||||
- Fix bug where invalid transactions would still open the MetaMask popup.
|
- Fix bug where invalid transactions would still open the MetaMask popup.
|
||||||
|
- Removed hex prefix from private key export, to increase compatibility with Geth, MyEtherWallet, and Jaxx.
|
||||||
|
|
||||||
## 2.13.1 2016-09-23
|
## 2.13.1 2016-09-23
|
||||||
|
|
||||||
|
BIN
app/images/icon-32.png
Normal file
BIN
app/images/icon-32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
app/images/icon-64.png
Normal file
BIN
app/images/icon-64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
@ -10,7 +10,7 @@
|
|||||||
"suggested_key": {
|
"suggested_key": {
|
||||||
"windows": "Alt+Shift+M",
|
"windows": "Alt+Shift+M",
|
||||||
"mac": "Alt+Shift+M",
|
"mac": "Alt+Shift+M",
|
||||||
"chromeos": "Search+M",
|
"chromeos": "Alt+Shift+M",
|
||||||
"linux": "Alt+Shift+M"
|
"linux": "Alt+Shift+M"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -55,9 +55,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"notifications",
|
|
||||||
"storage",
|
"storage",
|
||||||
"tabs",
|
"tabs",
|
||||||
|
"clipboardWrite",
|
||||||
|
"clipboardRead",
|
||||||
"http://localhost:8545/"
|
"http://localhost:8545/"
|
||||||
],
|
],
|
||||||
"web_accessible_resources": [
|
"web_accessible_resources": [
|
||||||
|
@ -3,6 +3,7 @@ const h = require('react-hyperscript')
|
|||||||
const inherits = require('util').inherits
|
const inherits = require('util').inherits
|
||||||
const copyToClipboard = require('copy-to-clipboard')
|
const copyToClipboard = require('copy-to-clipboard')
|
||||||
const actions = require('../actions')
|
const actions = require('../actions')
|
||||||
|
const ethUtil = require('ethereumjs-util')
|
||||||
|
|
||||||
module.exports = ExportAccountView
|
module.exports = ExportAccountView
|
||||||
|
|
||||||
@ -61,7 +62,9 @@ ExportAccountView.prototype.render = function () {
|
|||||||
|
|
||||||
if (accountExported) {
|
if (accountExported) {
|
||||||
return h('div.privateKey', {
|
return h('div.privateKey', {
|
||||||
|
style: {
|
||||||
|
margin: '0 20px',
|
||||||
|
},
|
||||||
}, [
|
}, [
|
||||||
h('label', 'Your private key (click to copy):'),
|
h('label', 'Your private key (click to copy):'),
|
||||||
h('p.error.cursor-pointer', {
|
h('p.error.cursor-pointer', {
|
||||||
@ -72,9 +75,9 @@ ExportAccountView.prototype.render = function () {
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
},
|
},
|
||||||
onClick: function (event) {
|
onClick: function (event) {
|
||||||
copyToClipboard(accountDetail.privateKey)
|
copyToClipboard(ethUtil.stripHexPrefix(accountDetail.privateKey))
|
||||||
},
|
},
|
||||||
}, accountDetail.privateKey),
|
}, ethUtil.stripHexPrefix(accountDetail.privateKey)),
|
||||||
h('button', {
|
h('button', {
|
||||||
onClick: () => this.props.dispatch(actions.backToAccountDetail(this.props.address)),
|
onClick: () => this.props.dispatch(actions.backToAccountDetail(this.props.address)),
|
||||||
}, 'Done'),
|
}, 'Done'),
|
||||||
|
Loading…
Reference in New Issue
Block a user