fix spelling mistake

feature/default_network_editable
frankiebee 7 years ago
parent 3a4726018e
commit ece9200c72
  1. 2
      app/scripts/metamask-controller.js

@ -450,7 +450,7 @@ module.exports = class MetamaskController extends EventEmitter {
this.txController.once(`${txMeta.id}:finished`, (completedTx) => { this.txController.once(`${txMeta.id}:finished`, (completedTx) => {
switch (completedTx.status) { switch (completedTx.status) {
case 'submitted': case 'submitted':
return reoslve(completedTx.hash) return resolve(completedTx.hash)
case 'rejected': case 'rejected':
return reject(new Error('MetaMask Tx Signature: User denied transaction signature.')) return reject(new Error('MetaMask Tx Signature: User denied transaction signature.'))
default: default:

Loading…
Cancel
Save