mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2025-12-24 01:14:24 +01:00
adapt to sdk
This commit is contained in:
@@ -12,7 +12,7 @@ from nostr_dvm.utils.output_utils import PostProcessFunctionType
|
||||
|
||||
async def build_client(config):
|
||||
keys = Keys.parse(config.PRIVATE_KEY)
|
||||
client = Client(keys)
|
||||
client = Client(NostrSigner.keys(keys))
|
||||
|
||||
for relay in config.RELAY_LIST:
|
||||
await client.add_relay(relay)
|
||||
|
||||
Reference in New Issue
Block a user