Fix peer loading

This commit is contained in:
shortcutme 2019-03-18 03:37:05 +01:00
parent c88152cac2
commit 9a9a8bfdc7
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -45,7 +45,7 @@ class ContentDbPlugin(object):
if not peer: # Already exist
continue
if row["hashfield"]:
peer.hashfield.replaceFromString(row["hashfield"])
peer.hashfield.replaceFromBytes(row["hashfield"])
num_hashfield += 1
peer.time_added = row["time_added"]
peer.time_found = row["time_found"]