From f7d4a1080df6d1c8ea5f68f88b01caea065b5e92 Mon Sep 17 00:00:00 2001
From: Csaba Solya <csaba.solya@gmail.com>
Date: Sun, 4 Mar 2018 08:47:46 +0100
Subject: add documentation

---
 app/scripts/metamask-controller.js | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'app/scripts/metamask-controller.js')

diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index df9adc248..f523e3919 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -600,6 +600,10 @@ module.exports = class MetamaskController extends EventEmitter {
     })
   }
 
+  // Verifies the current vault's seed words if they can restore the
+  // accounts belonging to the current vault.
+  //
+  // Called when the first account is created and on unlocking the vault.
   verifySeedPhrase (cb) {
 
     const primaryKeyring = this.keyringController.getKeyringsByType('HD Key Tree')[0]
-- 
cgit