mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge branch 'develop' into update-balance-on-unlock
This commit is contained in:
commit
a909af92aa
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Current Develop Branch
|
## Current Develop Branch
|
||||||
|
|
||||||
|
- Update transaction statuses when switching networks.
|
||||||
|
|
||||||
## 4.12.0 Thursday September 27 2018
|
## 4.12.0 Thursday September 27 2018
|
||||||
|
|
||||||
- Reintroduces changes from 4.10.0
|
- Reintroduces changes from 4.10.0
|
||||||
|
@ -530,6 +530,7 @@ class TransactionController extends EventEmitter {
|
|||||||
Updates the memStore in transaction controller
|
Updates the memStore in transaction controller
|
||||||
*/
|
*/
|
||||||
_updateMemstore () {
|
_updateMemstore () {
|
||||||
|
this.pendingTxTracker.updatePendingTxs()
|
||||||
const unapprovedTxs = this.txStateManager.getUnapprovedTxList()
|
const unapprovedTxs = this.txStateManager.getUnapprovedTxList()
|
||||||
const selectedAddressTxList = this.txStateManager.getFilteredTxList({
|
const selectedAddressTxList = this.txStateManager.getFilteredTxList({
|
||||||
from: this.getSelectedAddress(),
|
from: this.getSelectedAddress(),
|
||||||
|
@ -556,6 +556,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
|||||||
|
|
||||||
await this.preferencesController.syncAddresses(accounts)
|
await this.preferencesController.syncAddresses(accounts)
|
||||||
await this.balancesController.updateAllBalances()
|
await this.balancesController.updateAllBalances()
|
||||||
|
await this.txController.pendingTxTracker.updatePendingTxs()
|
||||||
return this.keyringController.fullUpdate()
|
return this.keyringController.fullUpdate()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user