minor fixes

This commit is contained in:
dbth
2025-01-02 00:41:06 +01:00
parent 09873fd990
commit 4e3516e004
3 changed files with 3 additions and 3 deletions

View File

@@ -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 = []

View File

@@ -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)

View File

@@ -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 = ""