aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2018-03-24 20:01:27 -0400
committerDeterminant <ted.sybil@gmail.com>2018-03-24 20:01:27 -0400
commitebb54d8cf1954281e33e486b9f7fc3ea33e7c4eb (patch)
treed0a7823b313322d227f41633baa54c6c521a2889
parent1693a97b5ee55f0b71702a52ae209ff7d7c975f7 (diff)
...
-rw-r--r--ethy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethy.py b/ethy.py
index 15bed6e..2fab805 100644
--- a/ethy.py
+++ b/ethy.py
@@ -125,7 +125,8 @@ if __name__ == '__main__':
if args.gen:
if args.with_key:
- hex_key = input('Please enter the private key (hex): ')
+ err.write('Please enter the private key (hex): ')
+ hex_key = input().strip()
if len(hex_key) == 66:
hex_prefix = hex_key[:2]
if hex_prefix == '0x' or hex_prefix == '0X':