Skip to content

Commit

Permalink
Check for new block data on unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh committed Apr 28, 2020
1 parent d157058 commit 10f2b75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,8 @@ export default class MetamaskController extends EventEmitter {
await this.diagnostics.reportMultipleKeyrings(nonSimpleKeyrings)
}

await this.blockTracker.checkForLatestBlock()

try {
const threeBoxSyncingAllowed = this.threeBoxController.getThreeBoxSyncingState()
if (threeBoxSyncingAllowed && !this.threeBoxController.box) {
Expand Down

0 comments on commit 10f2b75

Please sign in to comment.