Author: xor
Date: 2008-11-10 03:22:59 +0000 (Mon, 10 Nov 2008)
New Revision: 23465
Modified:
trunk/plugins/WoT/WoT.java
Log:
commit() early.
Modified: trunk/plugins/WoT/WoT.java
===================================================================
--- trunk/plugins/WoT/WoT.java 2008-11-10 03:22:01 UTC (rev 23464)
+++ trunk/plugins/WoT/WoT.java 2008-11-10 03:22:59 UTC (rev 23465)
@@ -361,12 +361,12 @@
// This identity trusts the seed identity
identity.setTrust(db, seed, (byte)100, "I trust the WoT
plugin");
+ db.commit();
+
inserter.wakeUp();
Logger.debug(this, "Successfully created a new OwnIdentity (" +
identity.getNickName() + ")");
- db.commit();
-
return identity;
}