File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -465,13 +465,12 @@ function logStreamDisconnectWarning(remoteLabel, error) {
465465}
466466
467467/**
468- * The function send message to inpage to notify it of extension stream connection
469- * This is used as notification to replay any pending messages in MV3
468+ * The function notifies inpage when the extension stream connection is ready. When the
469+ * 'metamask_chainChanged' method is received from the extension, it implies that the
470+ * background state is completely initialized and it is ready to process method calls.
471+ * This is used as a notification to replay any pending messages in MV3.
470472 *
471- * Message is sent to inpage when method 'metamask_chainChanged' is receined from extension,
472- * this method signifies that background state is completley initislised and it is ready to process method calls.
473- *
474- * @param {string } msg - instance of message received
473+ * @param {object } chunk - instance of message received
475474 */
476475function extensionStreamMessageListener ( msg ) {
477476 if (
You can’t perform that action at this time.
0 commit comments