|
|
@ -182,13 +182,14 @@ define([], function () {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
network.historyKeeper = hk;
|
|
|
|
network.historyKeeper = hk;
|
|
|
|
|
|
|
|
|
|
|
|
var cfg = padData = {
|
|
|
|
var cfg = {
|
|
|
|
validateKey: validateKey,
|
|
|
|
validateKey: validateKey,
|
|
|
|
lastKnownHash: lastKnownHash,
|
|
|
|
lastKnownHash: lastKnownHash,
|
|
|
|
owners: owners,
|
|
|
|
owners: owners,
|
|
|
|
expire: expire,
|
|
|
|
expire: expire,
|
|
|
|
password: password
|
|
|
|
password: password
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
padData = cfg;
|
|
|
|
var msg = ['GET_HISTORY', wc.id, cfg];
|
|
|
|
var msg = ['GET_HISTORY', wc.id, cfg];
|
|
|
|
// Add the validateKey if we are the channel creator and we have a validateKey
|
|
|
|
// Add the validateKey if we are the channel creator and we have a validateKey
|
|
|
|
if (hk) { network.sendto(hk, JSON.stringify(msg)); }
|
|
|
|
if (hk) { network.sendto(hk, JSON.stringify(msg)); }
|
|
|
|