commit | 2c58044405bf810dd7fe2d2b81c02a310d4af709 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Wed Jul 31 11:51:18 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Wed Jul 31 11:51:18 2013 -0700 |
tree | 03512984da8230b07db0856b59bf5a8a11ec8182 | |
parent | 6c6dc3eb61da26535eb6eb8fc3b48617936cb2fc [diff] [blame] |
In ContentObject constructor, remove unused signature argument
diff --git a/js/NDN.js b/js/NDN.js index d0fdb81..f88f178 100644 --- a/js/NDN.js +++ b/js/NDN.js
@@ -341,7 +341,7 @@ var si = new SignedInfo(); si.setFields(); - var co = new ContentObject(new Name(), si, bytes, new Signature()); + var co = new ContentObject(new Name(), si, bytes); co.sign(); var coBinary = encodeToBinaryContentObject(co);