Pop one from tx_counts for each block we back up.

Fixes #40
This commit is contained in:
Neil Booth 2016-11-23 09:11:49 +09:00
parent 26221e751e
commit 2df5aa746f

View File

@ -645,6 +645,7 @@ class BlockProcessor(server.db.DB):
self.tip = prev_hash
assert self.height >= 0
self.height -= 1
self.tx_counts.pop()
self.fs_height = self.height
assert not self.headers