From 9121a73d4a5ee340f6c9d3b68186493b7d1bf29a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 6 Sep 2022 10:30:03 -0700 Subject: missing imports --- routes/lightning/receive.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'routes/lightning') diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js index 6bc26814..ed23516b 100644 --- a/routes/lightning/receive.js +++ b/routes/lightning/receive.js @@ -1,3 +1,4 @@ +import store from "$lib/store"; import { emit } from "$lib/sockets"; import config from "$config"; import { notify } from "$lib/notifications"; @@ -99,7 +100,7 @@ const handlePayment = async msg => { ); }); - let c = convert[msg.payment_request]; + let c = store.convert[msg.payment_request]; if (msg.payment_request && c) { l( "lightning detected for conversion request", -- cgit v1.2.3