From 751eb1589fe98594a438fcdee01cf32274c12151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Tue, 13 Aug 2024 07:54:56 +0200 Subject: [PATCH] fix: readd MilliSatoshis from bolt11 issue #39 --- lnurl/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lnurl/__init__.py b/lnurl/__init__.py index fe4033f..03a08ea 100644 --- a/lnurl/__init__.py +++ b/lnurl/__init__.py @@ -1,3 +1,6 @@ +# backward compatibility, MilliSatoshi is now imported from bolt11 +from bolt11 import MilliSatoshi + from .core import decode, encode, execute, execute_login, execute_pay_request, execute_withdraw, get, handle from .models import ( LnurlAuthResponse, @@ -33,4 +36,5 @@ "LnurlResponse", "LnurlSuccessResponse", "LnurlWithdrawResponse", + "MilliSatoshi", ]