From c127f0a5f6e746418e23d78ffcf30e0ea4055dba Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 5 Oct 2018 18:04:48 +0200 Subject: [PATCH] Add a comment --- www/common/rpc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/common/rpc.js b/www/common/rpc.js index 7c5012592..c0452b80a 100644 --- a/www/common/rpc.js +++ b/www/common/rpc.js @@ -217,6 +217,9 @@ types of messages: }); }); + // network.onHistoryKeeperChange is defined in chainpad-netflux.js + // The function we pass will be called when the drive reconnects and + // chainpad-netflux detects a new history keeper id if (network.onHistoryKeeperChange) { network.onHistoryKeeperChange(function () { send('COOKIE', "", function (e) {