chainlib

Generic blockchain access library and tooling
Log | Files | Refs | README | LICENSE

commit 23ee2f4b0971dbf2cdc662c467b4855d58bf6259
parent 883a9314956e27281f9ed5018cfe5cba89e4ea20
Author: lash <dev@holbrook.no>
Date:   Mon,  9 May 2022 18:48:49 +0000

Remove commented code

Diffstat:
Mchainlib/block.py | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git 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))