feature/default_network_editable
Dan Finlay 9 years ago
parent 539fe3e940
commit e21a48da83
  1. 2
      app/scripts/background.js
  2. 3
      app/scripts/lib/notifications.js
  3. 1
      ui/app/components/pending-tx-details.js
  4. 1
      ui/lib/contract-namer.js

@ -43,7 +43,6 @@ function showUnconfirmedMessage (msgParams, msgId) {
onConfirm: idStore.approveMessage.bind(idStore, msgId, noop), onConfirm: idStore.approveMessage.bind(idStore, msgId, noop),
onCancel: idStore.cancelMessage.bind(idStore, msgId), onCancel: idStore.cancelMessage.bind(idStore, msgId),
}) })
} }
function showUnconfirmedTx (txParams, txData, onTxDoneCb) { function showUnconfirmedTx (txParams, txData, onTxDoneCb) {
@ -60,7 +59,6 @@ function showUnconfirmedTx (txParams, txData, onTxDoneCb) {
onConfirm: idStore.approveTransaction.bind(idStore, txData.id, noop), onConfirm: idStore.approveTransaction.bind(idStore, txData.id, noop),
onCancel: idStore.cancelTransaction.bind(idStore, txData.id), onCancel: idStore.cancelTransaction.bind(idStore, txData.id),
}) })
} }
// //

@ -66,7 +66,6 @@ function createTxNotification (state) {
title: 'New Unsigned Transaction', title: 'New Unsigned Transaction',
imageUrl: toSvgUri(notificationSvgSource), imageUrl: toSvgUri(notificationSvgSource),
})) }))
}) })
} }
@ -81,7 +80,6 @@ function createMsgNotification (state) {
title: 'New Unsigned Message', title: 'New Unsigned Message',
imageUrl: toSvgUri(notificationSvgSource), imageUrl: toSvgUri(notificationSvgSource),
})) }))
}) })
} }
@ -107,7 +105,6 @@ function showNotification (state) {
confirm: state.onConfirm, confirm: state.onConfirm,
cancel: state.onCancel, cancel: state.onCancel,
} }
} }
function renderTxNotificationSVG (state, cb) { function renderTxNotificationSVG (state, cb) {

@ -185,7 +185,6 @@ PTXP.miniAccountPanelForRecipient = function () {
}, },
}, addressSummary(txParams.to, 6, 4, false)), }, addressSummary(txParams.to, 6, 4, false)),
]) ])
} else { } else {
return h(MiniAccountPanel, { return h(MiniAccountPanel, {
imageifyIdenticons: imageify, imageifyIdenticons: imageify,

@ -13,7 +13,6 @@ module.exports = function(addr, identities = {}) {
const address = addr.toLowerCase() const address = addr.toLowerCase()
const ids = hashFromIdentities(identities) const ids = hashFromIdentities(identities)
console.dir({ addr, ids })
return addrFromHash(address, ids) || addrFromHash(address, nicknames) return addrFromHash(address, ids) || addrFromHash(address, nicknames)
} }

Loading…
Cancel
Save