diff --git a/src/seedsigner/controller.py b/src/seedsigner/controller.py index 894b01efb..3b49b8554 100644 --- a/src/seedsigner/controller.py +++ b/src/seedsigner/controller.py @@ -50,7 +50,7 @@ class Controller(Singleton): rather than at the top in order avoid circular imports. """ - VERSION = "0.6.0" + VERSION = "0.6.0-Nostr" # Declare class member vars with type hints to enable richer IDE support throughout # the code. diff --git a/src/seedsigner/gui/screens/psbt_screens.py b/src/seedsigner/gui/screens/psbt_screens.py index 0154fdeaa..1ca904c09 100644 --- a/src/seedsigner/gui/screens/psbt_screens.py +++ b/src/seedsigner/gui/screens/psbt_screens.py @@ -1,5 +1,4 @@ from dataclasses import dataclass -from lzma import is_check_supported from PIL import Image, ImageDraw, ImageFilter from typing import List import time diff --git a/src/seedsigner/views/nostr_views.py b/src/seedsigner/views/nostr_views.py index d01d34365..4a27a1545 100644 --- a/src/seedsigner/views/nostr_views.py +++ b/src/seedsigner/views/nostr_views.py @@ -174,7 +174,7 @@ def run(self): from seedsigner.gui.screens.nostr_screens import NostrNIP26CreateTokenCreatedAtScreen # TODO: Keep updating this starting point - initial_valid_from = datetime(2023, 1, 1, 0, 0, 0).replace(tzinfo=timezone.utc) + initial_valid_from = datetime(2023, 3, 18, 0, 0, 0).replace(tzinfo=timezone.utc) ret_value = NostrNIP26CreateTokenCreatedAtScreen( title="Valid Starting", @@ -201,7 +201,7 @@ def run(self): # initialize at 30 days after valid_from valid_from = self.controller.nostr_data["nip26_valid_from"] - initial_valid_until = datetime.fromtimestamp(valid_from) + timedelta(days=30) + initial_valid_until = datetime.fromtimestamp(valid_from) + timedelta(days=90) ret_value = NostrNIP26CreateTokenCreatedAtScreen( title="Expires After",