diff options
-rw-r--r-- | shop2.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |