From 223a40e9bd929b726d837bcffcc74ac3d9da2f0d Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sat, 15 Oct 2022 01:08:35 +0200 Subject: [PATCH] bump version to 0.4.0 --- cashu/core/settings.py | 2 +- cashu/mint/ledger.py | 2 +- pyproject.toml | 2 +- requirements.txt | 1 - setup.py | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cashu/core/settings.py b/cashu/core/settings.py index 7c92601..15f9a1d 100644 --- a/cashu/core/settings.py +++ b/cashu/core/settings.py @@ -48,4 +48,4 @@ LNBITS_ENDPOINT = env.str("LNBITS_ENDPOINT", default=None) LNBITS_KEY = env.str("LNBITS_KEY", default=None) MAX_ORDER = 64 -VERSION = "0.3.3" +VERSION = "0.4.0" diff --git a/cashu/mint/ledger.py b/cashu/mint/ledger.py index 794d193..0621f92 100644 --- a/cashu/mint/ledger.py +++ b/cashu/mint/ledger.py @@ -126,7 +126,7 @@ class Ledger: C = PublicKey(bytes.fromhex(proof.C), raw=True) - # backwards compatibility with old hash_to_curve < 0.3.3 + # backwards compatibility with old hash_to_curve < 0.4.0 try: ret = legacy.verify_pre_0_3_3(private_key_amount, C, proof.secret) if ret: diff --git a/pyproject.toml b/pyproject.toml index 73d3777..add76ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cashu" -version = "0.3.3" +version = "0.4.0" description = "Ecash wallet and mint." authors = ["calle "] license = "MIT" diff --git a/requirements.txt b/requirements.txt index 0065b77..475f862 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,7 +34,6 @@ six==1.16.0 ; python_version >= "3.7" and python_version < "4.0" sniffio==1.3.0 ; python_version >= "3.7" and python_version < "4.0" sqlalchemy-aio==0.17.0 ; python_version >= "3.7" and python_version < "4.0" sqlalchemy==1.3.24 ; python_version >= "3.7" and python_version < "4.0" -starlette-context==0.3.4 ; python_version >= "3.7" and python_version < "4.0" starlette==0.19.1 ; python_version >= "3.7" and python_version < "4.0" tomli==2.0.1 ; python_version >= "3.7" and python_version < "4.0" typing-extensions==4.3.0 ; python_version >= "3.7" and python_version < "4.0" diff --git a/setup.py b/setup.py index ac45661..1769ca8 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ entry_points = {"console_scripts": ["cashu = cashu.wallet.cli:cli"]} setuptools.setup( name="cashu", - version="0.3.3", + version="0.4.0", description="Ecash wallet and mint with Bitcoin Lightning support", long_description=long_description, long_description_content_type="text/markdown",