Browse Source
daemon.PayServer.create_request: mark as broken...
looks like it's been broken for a long time.
- self.root ??
- lnworker.add_request API change
patch-4
SomberNight
3 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
0 deletions
-
electrum/daemon.py
|
@ -395,6 +395,7 @@ class PayServer(Logger, EventListener): |
|
|
self.logger.info(f"now running and listening. addr={self.addr}") |
|
|
self.logger.info(f"now running and listening. addr={self.addr}") |
|
|
|
|
|
|
|
|
async def create_request(self, request): |
|
|
async def create_request(self, request): |
|
|
|
|
|
raise NotImplementedError() # FIXME code here is broken |
|
|
params = await request.post() |
|
|
params = await request.post() |
|
|
wallet = self.wallet |
|
|
wallet = self.wallet |
|
|
if 'amount_sat' not in params or not params['amount_sat'].isdigit(): |
|
|
if 'amount_sat' not in params or not params['amount_sat'].isdigit(): |
|
|