From 91976634a14287b78ef9ed2812c106261fedfc94 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 6 Nov 2024 18:45:34 +0100 Subject: [PATCH] format (#668) --- cashu/lightning/fake.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cashu/lightning/fake.py b/cashu/lightning/fake.py index 51146f16..3d51c369 100644 --- a/cashu/lightning/fake.py +++ b/cashu/lightning/fake.py @@ -8,8 +8,8 @@ from bolt11 import ( Bolt11, Feature, - FeatureState, Features, + FeatureState, MilliSatoshi, TagChar, Tags, @@ -93,7 +93,12 @@ async def create_invoice( ) -> InvoiceResponse: self.assert_unit_supported(amount.unit) tags = Tags() - tags.add(TagChar.features, Features.from_feature_list({Feature.payment_secret: FeatureState.supported})) + tags.add( + TagChar.features, + Features.from_feature_list( + {Feature.payment_secret: FeatureState.supported} + ), + ) if description_hash: tags.add(TagChar.description_hash, description_hash.hex())