diff --git a/README.md b/README.md index 4bc8188..158727c 100644 --- 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 index befac92..e462e2b 100644 --- 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 index 3371ec3..9823c2c 100644 --- 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 index 412551b..d0ebb23 100644 --- 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