mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-27 01:01:02 +02: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
@ -216,7 +216,10 @@ class PhoenixdWallet(Wallet):
|
|||||||
while settings.lnbits_running:
|
while settings.lnbits_running:
|
||||||
message = await ws.recv()
|
message = await ws.recv()
|
||||||
message_json = json.loads(message)
|
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(
|
logger.info(
|
||||||
f'payment-received: {message_json["paymentHash"]}'
|
f'payment-received: {message_json["paymentHash"]}'
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user