From f403f1d910bb96ec78fb84b799d53e32f45a8bc5 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 7 Jan 2023 04:08:12 +0000 Subject: shop2 --- shop2.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shop2.lua b/shop2.lua index 0fcf92c..09afd3d 100644 --- a/shop2.lua +++ b/shop2.lua @@ -139,6 +139,7 @@ local function proctrans(tr) end local function run_shop() + print("RUNSHOP") while true do msgtxt = assert(ws.receive(),"ws error") msg = textutils.unserializeJSON(msgtxt) @@ -146,6 +147,7 @@ local function run_shop() our_addr = msg.address.address end if msg.type == "event" and msg.event == "transaction" then + print("proctransing...") proctrans(msg.transaction) end end -- cgit v1.2.3