aboutsummaryrefslogtreecommitdiffstats
path: root/tools/nwc-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nwc-test.js')
-rw-r--r--tools/nwc-test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/nwc-test.js b/tools/nwc-test.js
index 7b7f8c3..d1d0cbc 100644
--- a/tools/nwc-test.js
+++ b/tools/nwc-test.js
@@ -18,6 +18,7 @@ const published = [];
const nwcTransport = {
subscribe: (relays, filter, on) => { subHandler = on; return () => { subHandler = null; }; },
publish: async (relays, evt) => { published.push(evt); return true; },
+ query: async () => [], // no other device has answered anything in tests
};
let paid = [];
const wallet = {