Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239.

This commit is contained in:
grossmj committed 2018-01-15 18:09:05 +07:00
1 parent 30e8949985
commit e5e2b7a8ac
3 files changed
+28 -23

No files matched your search

+1
View File
@@ -1142,6 +1142,7 @@ class IOUVM(BaseNode):
:returns: integer between 1 and 512
"""
if self._application_id is None:
#FIXME: is this necessary? application ID is allocated by controller and should not be None
return self._manager.get_application_id(self.id)
return self._application_id