chaind-eth

Queue server for ethereum
Log | Files | Refs | README | LICENSE

commit 5b92a8361d473b459fcd65365c902a65572719f4
parent 7bc1f56a0a334aeec8e325222bbb9f0ad8b3db91
Author: nolash <dev@holbrook.no>
Date:   Wed, 21 Jul 2021 08:41:30 +0200

Upgrade chaind

Diffstat:
MREADME.md | 1+
Mchaind_eth/runnable/server.py | 3++-
Mrequirements.txt | 2+-
Msetup.cfg | 2+-
4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -123,6 +123,7 @@ cat tx3.txt | socat UNIX-CLIENT=/run/user/$UID/chaind/eth/testsession/chaind.soc ### check status of transactions + ``` export DATABASE_ENGINE=sqlite sender=$(eth-keyfile -d $WALLET_KEY_FILE) diff --git a/chaind_eth/runnable/server.py b/chaind_eth/runnable/server.py @@ -162,7 +162,8 @@ def main(): data = None try: data_in_str = data_in.decode('utf-8') - data = bytes.fromhex(strip_0x(data_in_str)) + data_hex = strip_0x(data_in_str.rstrip()) + data = bytes.fromhex(data_hex) except ValueError: logg.error('invalid input "{}"'.format(data_in_str)) continue diff --git a/requirements.txt b/requirements.txt @@ -1,3 +1,3 @@ -chaind<=0.0.1,>=0.0.1a5 +chaind<=0.0.1,>=0.0.1a6 hexathon~=0.0.1a7 chainlib-eth<=0.0.6,>=0.0.6a1 diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = chaind-eth -version = 0.0.1a2 +version = 0.0.1a4 description = Queue server for ethereum author = Louis Holbrook author_email = dev@holbrook.no