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

Add close method

parent b49a1af6
No related branches found
No related tags found
No related merge requests found
...@@ -406,3 +406,6 @@ class Node: ...@@ -406,3 +406,6 @@ class Node:
[BMAEndpoint(None, "127.0.0.1", None, self.http.port)], None) [BMAEndpoint(None, "127.0.0.1", None, self.http.port)], None)
peer.sign([self.forge.key]) peer.sign([self.forge.key])
return peer return peer
async def close(self):
await self.http.close()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment