diff --git a/CHANGELOG b/CHANGELOG index 95914fa..0d166f3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +- 0.7.2 + * Fix tx index in default output for sync command - 0.7.1 * Change license to AGPL3 and copyright waived to public domain * Add missing log module in cli lib diff --git a/eth_monitor/filters/out.py b/eth_monitor/filters/out.py index d00f15c..21ed49a 100644 --- a/eth_monitor/filters/out.py +++ b/eth_monitor/filters/out.py @@ -74,7 +74,7 @@ class OutFilter(RuledFilter): datetime.datetime.fromtimestamp(block.timestamp), block.number, strip_0x(block.hash), - tx.index, + tx.index + 1, tx_count, strip_0x(tx.hash), tx.status.name, diff --git a/setup.cfg b/setup.cfg index 1a96ccd..394362f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,10 @@ [metadata] name = eth-monitor -version = 0.7.1 +version = 0.7.2 description = Monitor and cache transactions using match filters author = Louis Holbrook author_email = dev@holbrook.no -url = https://git.defalsify.org/eth-monitor.git +url = https://git.defalsify.org/eth-monitor keywords = dlt blockchain @@ -20,7 +20,7 @@ classifiers = License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+) Topic :: Internet # Topic :: Blockchain :: EVM -license = OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+) +license = AGPLv3+ licence_files = LICENSE