diff options
Diffstat (limited to 'shop.lua')
-rw-r--r-- | shop.lua | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |