Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
monty committed Jun 14, 2024
1 parent 2119278 commit 47bf18e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/nip46_client_post.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from monstr.event.event import Event

# url to relay used for talking to the signer
RELAY = 'ws://localhost:8081'
RELAY = 'ws://localhost:8080'


async def do_post(url, text):
Expand Down Expand Up @@ -53,7 +53,7 @@ async def do_post(url, text):


if __name__ == "__main__":
logging.getLogger().setLevel(logging.DEBUG)
logging.getLogger().setLevel(logging.ERROR)
text = 'hello using NIP46 signer'

asyncio.run(do_post(RELAY, text))
4 changes: 2 additions & 2 deletions examples/nip46_signer_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from monstr.signing.signing import BasicKeySigner

# url to relay used for talking to the signer
RELAY = 'ws://localhost:8081'
RELAY = 'ws://localhost:8080'


async def run_signer():
Expand All @@ -26,5 +26,5 @@ async def run_signer():
await my_signer.run()

if __name__ == "__main__":
logging.getLogger().setLevel(logging.DEBUG)
logging.getLogger().setLevel(logging.ERROR)
asyncio.run(run_signer())

0 comments on commit 47bf18e

Please sign in to comment.