273
258
if c.cb.bestblockhash == blockhash:
275
260
if blockhash not in c.cb.block_reject_map:
278
263
if not outcome.match(c.cb.block_reject_map[blockhash]):
279
print 'Block rejected with %s instead of expected %s: %064x' % (c.cb.block_reject_map[blockhash], outcome, blockhash)
264
print('Block rejected with %s instead of expected %s: %064x' % (c.cb.block_reject_map[blockhash], outcome, blockhash))
281
266
elif ((c.cb.bestblockhash == blockhash) != outcome):
282
267
# print c.cb.bestblockhash, blockhash, outcome