• R/O
  • HTTP
  • SSH
  • HTTPS

pybtm: Commit

Python3 implementation of the Bytom protocol. https://pypi.org/project/pybtm/


Commit MetaInfo

Revisionaab48a7cae1df119609065cdb216e09a8f9aaee5 (tree)
Zeit2019-04-02 11:41:53
AutorChengcheng Zhang <943420582@qq.c...>
CommiterChengcheng Zhang

Log Message

update 0.1.6

Ändern Zusammenfassung

Diff

--- a/pybtm/__init__.py
+++ b/pybtm/__init__.py
@@ -1,2 +1,2 @@
11 name = "pybtm"
2-version = "0.1.3"
\ No newline at end of file
2+version = "0.1.6"
\ No newline at end of file
--- a/pybtm/key.py
+++ b/pybtm/key.py
@@ -8,7 +8,7 @@ from .utils import *
88
99
1010 def get_entropy():
11- entropy = random.randint(0, 2**128)
11+ entropy = random.randint(0, 2**128-1)
1212 entropy_hexstr = entropy.to_bytes(16, byteorder='big').hex()
1313 return entropy_hexstr
1414
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
55
66 setuptools.setup(
77 name="pybtm",
8- version="0.1.3",
8+ version="0.1.6",
99 author="zcc0721",
1010 author_email="zcc0721@foxmail.com",
1111 description="Python3 implementation of the Bytom protocol.",
Show on old repository browser