Added FIXME notice
This commit is contained in:
parent
1fd021760a
commit
43d0d7cd32
|
@ -959,6 +959,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
||||||
raise APIError(0, 'I need 1 parameter!')
|
raise APIError(0, 'I need 1 parameter!')
|
||||||
payload = self._decode(params[0], "hex")
|
payload = self._decode(params[0], "hex")
|
||||||
|
|
||||||
|
# FIXME: obsolete function
|
||||||
if protocol.checkAndShareObjectWithPeers(payload) == 0:
|
if protocol.checkAndShareObjectWithPeers(payload) == 0:
|
||||||
raise APIError(30, 'Invalid object or insufficient POW')
|
raise APIError(30, 'Invalid object or insufficient POW')
|
||||||
else:
|
else:
|
||||||
|
|
Reference in New Issue
Block a user