Skip to content

Commit

Permalink
Nostrica tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmukai committed Mar 17, 2023
1 parent 85df49e commit d85c886
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/seedsigner/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion src/seedsigner/gui/screens/psbt_screens.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/seedsigner/views/nostr_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit d85c886

Please sign in to comment.