Author: batosai
Date: 2008-08-11 00:21:02 +0000 (Mon, 11 Aug 2008)
New Revision: 21727
Modified:
trunk/apps/WoT/src/plugins/WoT/WoTplugin.java
Log:
Doh ! Forgot to initialise the trust tree.
Modified: trunk/apps/WoT/src/plugins/WoT/WoTplugin.java
===================================================================
--- trunk/apps/WoT/src/plugins/WoT/WoTplugin.java 2008-08-11 00:15:53 UTC
(rev 21726)
+++ trunk/apps/WoT/src/plugins/WoT/WoTplugin.java 2008-08-11 00:21:02 UTC
(rev 21727)
@@ -393,8 +393,11 @@
identity.setProp("nickName",
request.getPartAsString("nickName", 1024), db);
identity.setProp("publishTrustList", "true", db);
+ Score score = new Score(identity, identity, 100, 0,
100); // We need to initialize the trust tree
+
//TODO Make the new identity trust the seed identity
db.store(identity);
+ db.store(score);
db.commit();
}
catch(MalformedURLException e) {