summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-12-30 00:00:45 +0000
committerubq323 <ubq323@ubq323.website>2022-12-30 00:00:45 +0000
commit69be7325be00c5cc56138228b667b5c2e20947ec (patch)
treeee3738f2b3705effc64512faed4cd56724cd9c1a
parent792efa83c47720c375ae23b9d71da04f25982df3 (diff)
shop
-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