File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
- ---
2
1
language : python
2
+ dist : jammy
3
3
4
4
python :
5
- - 3.9.7
5
+ - 3.9
6
6
- 3.8
7
7
8
8
branches :
Original file line number Diff line number Diff line change @@ -24,15 +24,13 @@ python_requires = >=3.8
24
24
install_requires =
25
25
requests>=2.24.0, <3
26
26
PyNaCl
27
- pyblake2~=1.1.0
28
27
base58~=0.2.5
29
28
ecdsa~=0.17.0
30
29
inflection~=0.5.1
31
30
freezegun~=1.1.0
32
31
mnemonic~=0.20
33
32
eth-utils~=2.0.0
34
33
pycryptodome~=3.12.0
35
- pysha3~=1.0.2
36
34
37
35
[options.packages.find]
38
36
where = src
Original file line number Diff line number Diff line change 1
1
import base64
2
2
import hashlib
3
- import pyblake2
4
3
import base58
5
4
import inflection
6
5
@@ -14,7 +13,7 @@ def sha256(s):
14
13
15
14
16
15
def hash_chain (s ):
17
- a = pyblake2 .blake2b (s , digest_size = 32 ).digest ()
16
+ a = hashlib .blake2b (s , digest_size = 32 ).digest ()
18
17
b = hashlib .sha256 (a ).digest ()
19
18
return '' .join (map (chr , b ))
20
19
You can’t perform that action at this time.
0 commit comments