Merge branch 'more_unit_tests' of https://github.com/lnbits/lnbits into more_unit_tests
This commit is contained in:
+2
-2
@@ -28,8 +28,7 @@ from lnbits.core.models.extensions_builder import (
|
||||
PublicPageFields,
|
||||
SettingsFields,
|
||||
)
|
||||
from lnbits.settings import settings
|
||||
from lnbits.wallets import get_funding_source, set_funding_source
|
||||
from lnbits.wallets import get_funding_source
|
||||
|
||||
|
||||
class DbTestModel(BaseModel):
|
||||
@@ -182,6 +181,7 @@ def make_lnurl_pay_response(
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
funding_source = get_funding_source()
|
||||
is_fake: bool = funding_source.__class__.__name__ == "FakeWallet"
|
||||
is_regtest: bool = not is_fake
|
||||
|
||||
Reference in New Issue
Block a user