summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shop.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/shop.lua b/shop.lua
index 5e34abb..7f986c9 100644
--- a/shop.lua
+++ b/shop.lua
@@ -92,12 +92,11 @@ function run_shop()
while true do
msgtxt = assert(ws.receive(),"ws error")
msg = textutils.unserializeJSON(msgtxt)
- if msg.type ~= "keepalive" then print(msgtxt) end
if msg.type == "response" and msg.responding_to_type == "me" then
our_addr = msg.address.address
end
if msg.type == "event" and msg.event == "transaction" then
- require"cc.pretty".pretty_print(proctrans(msg.transaction))
+ proctrans(msg.transaction)
end
end
end