mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-10 16:32:41 +02:00
minor fixes
This commit is contained in:
@@ -28,7 +28,7 @@ class DVMTaskInterface:
|
|||||||
PUBLIC_KEY: str
|
PUBLIC_KEY: str
|
||||||
DVM = DVM
|
DVM = DVM
|
||||||
SUPPORTS_ENCRYPTION = True # DVMs build with this framework support encryption, but others might not.
|
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
|
dvm_config: DVMConfig
|
||||||
admin_config: AdminConfig
|
admin_config: AdminConfig
|
||||||
dependencies = []
|
dependencies = []
|
||||||
|
@@ -46,7 +46,7 @@ async def nip65_announce_relays(dvm_config, client):
|
|||||||
print(
|
print(
|
||||||
bcolors.BLUE + "[" + dvm_config.NIP89.NAME + "] Announced NIP 65 for " + dvm_config.NIP89.NAME + ". Success: " + str(
|
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.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:
|
else:
|
||||||
print(
|
print(
|
||||||
bcolors.RED + "[" + dvm_config.NIP89.NAME + "] Could not announce NIP 65 for " + dvm_config.NIP89.NAME + bcolors.ENDC)
|
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:
|
class NIP89Config:
|
||||||
DTAG: str = ""
|
DTAG: str = ""
|
||||||
NAME: str = ""
|
NAME: str = ""
|
||||||
KIND: int = None
|
KIND: Kind = None
|
||||||
PK: str = ""
|
PK: str = ""
|
||||||
CONTENT: str = ""
|
CONTENT: str = ""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user