Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor __init__ functions of Wallets (funding sources) #2193

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

prusnak
Copy link
Collaborator

@prusnak prusnak commented Dec 24, 2023

  • better error messages when a conf variable is not provided
  • unify approaches among different source files

Copy link

codecov bot commented Dec 24, 2023

Codecov Report

Attention: 49 lines in your changes are missing coverage. Please review.

Comparison is base (a3b7c76) 59.38% compared to head (1e4714e) 59.27%.

Files Patch % Lines
lnbits/wallets/lnpay.py 0.00% 8 Missing ⚠️
lnbits/wallets/opennode.py 0.00% 7 Missing ⚠️
lnbits/wallets/spark.py 0.00% 7 Missing ⚠️
lnbits/wallets/alby.py 0.00% 5 Missing ⚠️
lnbits/wallets/lntips.py 0.00% 5 Missing ⚠️
lnbits/wallets/lndgrpc.py 63.63% 4 Missing ⚠️
lnbits/wallets/cliche.py 0.00% 3 Missing ⚠️
lnbits/wallets/corelightningrest.py 57.14% 3 Missing ⚠️
lnbits/wallets/eclair.py 71.42% 2 Missing ⚠️
lnbits/wallets/lnbits.py 60.00% 2 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2193      +/-   ##
==========================================
- Coverage   59.38%   59.27%   -0.12%     
==========================================
  Files          60       60              
  Lines        8925     8942      +17     
==========================================
  Hits         5300     5300              
- Misses       3625     3642      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@prusnak prusnak added this to the 0.12.0 milestone Dec 24, 2023
prusnak added a commit that referenced this pull request Dec 24, 2023
prusnak added a commit that referenced this pull request Dec 24, 2023
prusnak added a commit that referenced this pull request Dec 24, 2023
@prusnak prusnak requested a review from dni December 24, 2023 14:35
Copy link
Member

@dni dni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love it thanks @prusnak !

lnbits/wallets/corelightning.py Outdated Show resolved Hide resolved
- better error messages when a conf variable is not provided
- unify approaches among different source files
@prusnak prusnak merged commit 8eabf53 into dev Jan 22, 2024
22 checks passed
@prusnak prusnak deleted the refactor-wallets-init branch January 22, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants