From 23ee2f4b0971dbf2cdc662c467b4855d58bf6259 Mon Sep 17 00:00:00 2001 From: lash Date: Mon, 9 May 2022 18:48:49 +0000 Subject: [PATCH] Remove commented code --- chainlib/block.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/chainlib/block.py b/chainlib/block.py index 0ffd30c..93a20f7 100644 --- a/chainlib/block.py +++ b/chainlib/block.py @@ -47,18 +47,6 @@ class Block(Src): return tx return -1 -# -# -# def tx_src(self, idx): -# """Return implementation specific transaction representation for transaction data at given index -# -# :param idx: Transaction index -# :type idx: int -# :rtype: chainlib.tx.Tx -# :returns: Transaction representation -# """ -# return self.txs[idx] - def __str__(self): return 'block {} {} ({} txs)'.format(self.number, self.hash, len(self.txs))