connector

This commit is contained in:
4tochka 2019-05-10 01:36:43 +04:00
parent 951ea9b148
commit 8daf1cfe60
2 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ class Worker:
blocks[x]["rawTx"][y]["vOut"][i]["_s_"] = self.destroyed_coins[pointer]
except: pass
blocks[x] = msgpack.dumps(blocks[x])
# blocks[x] = msgpack.dumps(blocks[x])
self.pipe_sent_msg(b'result', msgpack.dumps(blocks))
except:

View File

@ -304,7 +304,7 @@ class Connector:
raw_block = self.block_preload.pop(self.last_block_height + 1)
if raw_block:
q = time.time()
block = msgpack.loads(raw_block)
block = raw_block
block["hash"]
self.blocks_decode_time += time.time() - q