File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,6 @@ def run(self):
127
127
### Tests fail without version pin (GHA run: https://github.com/udosson/indy-plenum/actions/runs/1078745445)
128
128
'rlp==0.6.0' ,
129
129
'semver==2.13.0' ,
130
- # 'sha3==0.2.1',
131
- 'sha3' ,
132
130
# 'six==1.15.0',
133
131
'six' ,
134
132
### Tests fail without version pin (GHA run: https://github.com/udosson/indy-plenum/actions/runs/1078741118)
Original file line number Diff line number Diff line change 3
3
4
4
5
5
import hashlib
6
- if hasattr (hashlib , 'sha3_256' ):
7
- def sha3_256 (x ):
8
- return hashlib .sha3_256 (x ).digest ()
9
- else :
10
- import sha3 as _sha3
11
- def sha3_256 (x ):
12
- return _sha3 .sha3_256 (x ).digest ()
13
6
7
+ def sha3_256 (x ):
8
+ return hashlib .sha3_256 (x ).digest ()
14
9
15
10
import rlp
16
11
from rlp .sedes import big_endian_int , BigEndianInt , Binary
You can’t perform that action at this time.
0 commit comments