summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-01-07 04:08:12 +0000
committerubq323 <ubq323@ubq323.website>2023-01-07 04:08:12 +0000
commitf403f1d910bb96ec78fb84b799d53e32f45a8bc5 (patch)
treed4b6644b5d2bdf49b7ce9776605edb443c65f67d
parent8045af30c2b6728876bfce5821ac9b22d9efc0de (diff)
shop2
-rw-r--r--shop2.lua2
1 files changed, 2 insertions, 0 deletions
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