Skip to content

Commit 9a4e59d

Browse files
committed
Add minor comment
1 parent 9e016e8 commit 9a4e59d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

multiwallet.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ func (mw *MultiWallet) OpenWallets(startupPassphrase []byte) error {
285285
return err
286286
}
287287

288+
// Locking mw.walletsMu to prevent other actors from accessing wallets until all are
289+
// opened (means ready to work with).
288290
mw.walletsMu.Lock()
289291
for _, wallet := range mw.wallets {
290292
err = wallet.openWallet()

0 commit comments

Comments
 (0)