Added FIXME notice

This commit is contained in:
Biryuzovye Kleshni 2018-04-25 15:46:46 +00:00
parent 1fd021760a
commit 43d0d7cd32

View File

@ -959,6 +959,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
raise APIError(0, 'I need 1 parameter!')
payload = self._decode(params[0], "hex")
# FIXME: obsolete function
if protocol.checkAndShareObjectWithPeers(payload) == 0:
raise APIError(30, 'Invalid object or insufficient POW')
else: