From c30e905e1966f5f3fb6953f7e2641b8ff7d2842d Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 18 Jun 2019 19:44:29 -0400 Subject: [PATCH] undo backup_txs method signature change --- torba/server/block_processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torba/server/block_processor.py b/torba/server/block_processor.py index 0d81366d5..49bb30cda 100644 --- a/torba/server/block_processor.py +++ b/torba/server/block_processor.py @@ -457,13 +457,13 @@ class BlockProcessor: hash_to_hex_str(self.tip), self.height)) self.tip = coin.header_prevhash(block.header) - self.backup_txs(self.height, block.transactions) + self.backup_txs(block.transactions) self.height -= 1 self.db.tx_counts.pop() self.logger.info('backed up to height {:,d}'.format(self.height)) - def backup_txs(self, height, txs): + def backup_txs(self, txs): # Prevout values, in order down the block (coinbase first if present) # undo_info is in reverse block order undo_info = self.db.read_undo_info(self.height)