forked from I2P_Developers/i2p.i2p
Console: Fix NPE on /profiles
Profiles: - Fix first heard about to be earliest, undeprecate - Fixup first heard about at profile readin - Persist good/bad lookup/store DBHistory stats added in 0.7.8 - Remove unused DBHistory methods and fields to save memory - Change bonus longs to ints to save memory - Extend profile expiration time from 3 days to 15 - Consolidate getLong() - Synch fixes Sybil tool: Tweaks and enhancements
This commit is contained in:
@@ -48,6 +48,8 @@ class ProfileOrganizerRenderer {
|
||||
for (Hash peer : peers) {
|
||||
if (_organizer.getUs().equals(peer)) continue;
|
||||
PeerProfile prof = _organizer.getProfile(peer);
|
||||
if (prof == null)
|
||||
continue;
|
||||
if (mode == 2) {
|
||||
RouterInfo info = _context.netDb().lookupRouterInfoLocally(peer);
|
||||
if (info != null && info.getCapabilities().indexOf("f") >= 0)
|
||||
|
||||
Reference in New Issue
Block a user