diff --git a/www/common/outer/chainpad-netflux-worker.js b/www/common/outer/chainpad-netflux-worker.js index c5d22c96e..a60d73b3e 100644 --- a/www/common/outer/chainpad-netflux-worker.js +++ b/www/common/outer/chainpad-netflux-worker.js @@ -187,10 +187,8 @@ define([], function () { expire: expire, password: password }; - var msg = ['GET_HISTORY', wc.id]; + var msg = ['GET_HISTORY', wc.id, cfg]; // Add the validateKey if we are the channel creator and we have a validateKey - msg.push(validateKey); - msg.push(lastKnownHash); if (hk) { network.sendto(hk, JSON.stringify(msg)); } } else { onRdy(); diff --git a/www/common/sframe-common-outer.js b/www/common/sframe-common-outer.js index 74c2f56c9..9fb10cc92 100644 --- a/www/common/sframe-common-outer.js +++ b/www/common/sframe-common-outer.js @@ -634,7 +634,7 @@ define([ cb(); }, rtConfig); return; - }; + } // Start realtime outside the iframe and callback console.log(data); startRealtime(rtConfig);