diff --git a/lnurl/core.py b/lnurl/core.py index f519a1d..df8d725 100644 --- a/lnurl/core.py +++ b/lnurl/core.py @@ -84,7 +84,7 @@ async def execute( timeout: Optional[int] = None, ) -> LnurlResponseModel: try: - res = handle(bech32_or_address, user_agent=user_agent, timeout=timeout) + res = await handle(bech32_or_address, user_agent=user_agent, timeout=timeout) except Exception as exc: raise LnurlResponseException(str(exc))