mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-09 21:42:32 +02:00
minor fixes
This commit is contained in:
@@ -28,7 +28,7 @@ class DVMTaskInterface:
|
||||
PUBLIC_KEY: str
|
||||
DVM = DVM
|
||||
SUPPORTS_ENCRYPTION = True # DVMs build with this framework support encryption, but others might not.
|
||||
ACCEPTS_CASHU = True # DVMs build with this framework support encryption, but others might not.
|
||||
ACCEPTS_CASHU = False # Cashu requires manual activation
|
||||
dvm_config: DVMConfig
|
||||
admin_config: AdminConfig
|
||||
dependencies = []
|
||||
|
@@ -46,7 +46,7 @@ async def nip65_announce_relays(dvm_config, client):
|
||||
print(
|
||||
bcolors.BLUE + "[" + dvm_config.NIP89.NAME + "] Announced NIP 65 for " + dvm_config.NIP89.NAME + ". Success: " + str(
|
||||
response_status.success) + " Failed: " + str(response_status.failed) + " EventID: "
|
||||
+ response_status.id.to_hex() + " / " + response_status.id.to_bech32())
|
||||
+ response_status.id.to_hex() + " / " + response_status.id.to_bech32() + bcolors.ENDC)
|
||||
else:
|
||||
print(
|
||||
bcolors.RED + "[" + dvm_config.NIP89.NAME + "] Could not announce NIP 65 for " + dvm_config.NIP89.NAME + bcolors.ENDC)
|
||||
|
@@ -13,7 +13,7 @@ from nostr_dvm.utils.print_utils import bcolors
|
||||
class NIP89Config:
|
||||
DTAG: str = ""
|
||||
NAME: str = ""
|
||||
KIND: int = None
|
||||
KIND: Kind = None
|
||||
PK: str = ""
|
||||
CONTENT: str = ""
|
||||
|
||||
|
Reference in New Issue
Block a user