mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-15 12:20:21 +01:00
fix: typo in phoenixd wallet (#2473)
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com> Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
parent
c3d37a460c
commit
0076a85fdb
1 changed files with 4 additions and 1 deletions
|
@ -216,7 +216,10 @@ class PhoenixdWallet(Wallet):
|
|||
while settings.lnbits_running:
|
||||
message = await ws.recv()
|
||||
message_json = json.loads(message)
|
||||
if message_json and message_json["type"] == "payment-received":
|
||||
if (
|
||||
message_json
|
||||
and message_json.get("type") == "payment_received"
|
||||
):
|
||||
logger.info(
|
||||
f'payment-received: {message_json["paymentHash"]}'
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue