Implement new Witness decoding function
diff --git a/js/WebSocketTransport.js b/js/WebSocketTransport.js
index 8e802af..7a06f1e 100644
--- a/js/WebSocketTransport.js
+++ b/js/WebSocketTransport.js
@@ -280,7 +280,7 @@
if (LOG > 3) console.log('ws.onopen: ReadyState: ' + this.readyState);
// Fetch ccndid now
- var interest = new Interest(new Name(NDN.ccndIdFetcher));
+ var interest = new Interest(NDN.ccndIdFetcher);
interest.interestLifetime = 4000; // milliseconds
var subarray = encodeToBinaryInterest(interest);