|
|
@ -363,7 +363,7 @@ module.exports = class MetamaskController extends EventEmitter { |
|
|
|
// txController
|
|
|
|
// txController
|
|
|
|
cancelTransaction: nodeify(txController.cancelTransaction, txController), |
|
|
|
cancelTransaction: nodeify(txController.cancelTransaction, txController), |
|
|
|
updateAndApproveTransaction: nodeify(txController.updateAndApproveTransaction, txController), |
|
|
|
updateAndApproveTransaction: nodeify(txController.updateAndApproveTransaction, txController), |
|
|
|
retryTransaction: nodeify(txController.retryTransaction, txController), |
|
|
|
retryTransaction: nodeify(this.retryTransaction, this), |
|
|
|
|
|
|
|
|
|
|
|
// messageManager
|
|
|
|
// messageManager
|
|
|
|
signMessage: nodeify(this.signMessage, this), |
|
|
|
signMessage: nodeify(this.signMessage, this), |
|
|
@ -574,6 +574,14 @@ module.exports = class MetamaskController extends EventEmitter { |
|
|
|
//
|
|
|
|
//
|
|
|
|
// Identity Management
|
|
|
|
// Identity Management
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async retryTransaction (txId, cb) { |
|
|
|
|
|
|
|
await this.txController.retryTransaction(txId) |
|
|
|
|
|
|
|
const state = await this.getState() |
|
|
|
|
|
|
|
return state |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
newUnsignedMessage (msgParams, cb) { |
|
|
|
newUnsignedMessage (msgParams, cb) { |
|
|
|
const msgId = this.messageManager.addUnapprovedMessage(msgParams) |
|
|
|
const msgId = this.messageManager.addUnapprovedMessage(msgParams) |
|
|
|