Skip to content
Snippets Groups Projects
Commit b8b387b2 authored by inso's avatar inso
Browse files

Fix add node in process_cfg_community

parent 3ba86eba
No related branches found
No related tags found
No related merge requests found
...@@ -255,7 +255,7 @@ class ProcessConfigureCommunity(QDialog, Ui_CommunityConfigurationDialog): ...@@ -255,7 +255,7 @@ class ProcessConfigureCommunity(QDialog, Ui_CommunityConfigurationDialog):
port = self.spinbox_add_port.value() port = self.spinbox_add_port.value()
try: try:
node = await Node.from_address(self.community.currency, server, port) node = await Node.from_address(self.community.currency, server, port, session=self.community.network.session)
self.community.add_node(node) self.community.add_node(node)
except Exception as e: except Exception as e:
await QAsyncMessageBox.critical(self, self.tr("Error"), await QAsyncMessageBox.critical(self, self.tr("Error"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment