From a1c3538b50bc8cd9131a311a1f6406706840224d Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sat, 25 Feb 2023 14:52:57 +0100 Subject: [PATCH] comments --- README.md | 2 +- cashu/wallet/cli/nostr.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7bf0fb7..0b1d8ae 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Cashu is an Ecash implementation based on David Wagner's variant of Chaumian bli - PostgreSQL and SQLite database support - Builtin Tor for hiding IPs for wallet and mint interactions - Multimint wallet for tokens from different mints -- Send tokens to nostr pubkeys +- Send and receive tokens on nostr ## Cashu client protocol There are ongoing efforts to implement alternative Cashu clients that use the same protocol. If you are interested in helping with Cashu development, please refer to the protocol specs [protocol specs](https://github.com/cashubtc/nuts). diff --git a/cashu/wallet/cli/nostr.py b/cashu/wallet/cli/nostr.py index 0034d9b..95916cf 100644 --- a/cashu/wallet/cli/nostr.py +++ b/cashu/wallet/cli/nostr.py @@ -54,7 +54,7 @@ async def send_nostr(ctx: Context, amount: int, pubkey: str, verbose: bool, yes: wallet = await get_mint_wallet(ctx) if "@" in pubkey or "." in pubkey: - # parses user@domain.com and domain.com (which is _@domain.com) + # matches user@domain.com and domain.com (which is _@domain.com) pubkey = await nip5_to_pubkey(wallet, pubkey) await wallet.load_proofs()