We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7900c6b commit 8f17100Copy full SHA for 8f17100
hdwallet/keys.py
@@ -1,6 +1,6 @@
1
#!/usr/bin/env python3
2
3
-# Copyright © 2020-2024, Meheret Tesfaye Batu <[email protected]>
+# Copyright © 2020-2025, Meheret Tesfaye Batu <[email protected]>
4
# Distributed under the MIT software license, see the accompanying
5
# file COPYING or https://opensource.org/license/mit
6
@@ -30,7 +30,7 @@ def serialize(
30
) -> Optional[str]:
31
try:
32
raw: bytes = (
33
- integer_to_bytes(version) if isinstance(version, int) else get_bytes(version) +
+ (integer_to_bytes(version) if isinstance(version, int) else get_bytes(version)) +
34
bytes(bytearray([depth])) +
35
get_bytes(parent_fingerprint) +
36
struct.pack(">L", index) +
0 commit comments