This commit is contained in:
callebtc
2022-09-28 17:47:58 +02:00
parent 35a3e5e57a
commit b5347077c2
3 changed files with 8 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "cashu" name = "cashu"
version = "0.1.9" version = "0.1.10"
description = "Ecash wallet and mint." description = "Ecash wallet and mint."
authors = ["calle <callebtc@protonmail.com>"] authors = ["calle <callebtc@protonmail.com>"]
license = "MIT" license = "MIT"

View File

@@ -13,7 +13,7 @@ entry_points = {"console_scripts": ["cashu = cahu.wallet.cashu:cli"]}
setuptools.setup( setuptools.setup(
name="cashu", name="cashu",
version="0.1.9", version="0.1.10",
description="Ecash wallet and mint with Bitcoin Lightning support", description="Ecash wallet and mint with Bitcoin Lightning support",
long_description=long_description, long_description=long_description,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",

View File

@@ -1,10 +1,8 @@
import asyncio from cashu.core.helpers import async_unwrap
from cashu.core.migrations import migrate_databases
from core.helpers import async_unwrap from cashu.wallet import migrations
from core.migrations import migrate_databases from cashu.wallet.wallet import Wallet as Wallet1
from wallet import migrations from cashu.wallet.wallet import Wallet as Wallet2
from wallet.wallet import Wallet as Wallet1
from wallet.wallet import Wallet as Wallet2
SERVER_ENDPOINT = "http://localhost:3338" SERVER_ENDPOINT = "http://localhost:3338"
@@ -29,7 +27,7 @@ async def run_test():
await migrate_databases(wallet1.db, migrations) await migrate_databases(wallet1.db, migrations)
wallet1.status() wallet1.status()
wallet2 = Wallet1(SERVER_ENDPOINT, "data/wallet2", "wallet2") wallet2 = Wallet2(SERVER_ENDPOINT, "data/wallet2", "wallet2")
await migrate_databases(wallet2.db, migrations) await migrate_databases(wallet2.db, migrations)
wallet2.status() wallet2.status()