forked from mirrors/nixpkgs
The 'construct' library removed a function and the build started to fail because of it. Upstream pinned the version of the 'construct' library to a previous release, but we can solve it with a simple patch.
20 lines
539 B
Diff
20 lines
539 B
Diff
--- a/ledgerwallet/params.py 2021-11-17 20:31:10.488954050 -0300
|
|
+++ b/ledgerwallet/params.py 2021-11-17 20:31:30.619477930 -0300
|
|
@@ -19,7 +19,6 @@
|
|
)
|
|
from construct.core import (
|
|
byte2int,
|
|
- iterateints,
|
|
singleton,
|
|
stream_read,
|
|
stream_write,
|
|
@@ -40,7 +39,7 @@
|
|
num_bytes = byte & 0x80
|
|
encoded_len = stream_read(stream, num_bytes)
|
|
num = 0
|
|
- for len_byte in iterateints(encoded_len):
|
|
+ for len_byte in encoded_len:
|
|
num = num << 8 + len_byte
|
|
return num
|
|
|