Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 89eff86

Browse files
committed
Fix message signature with Python 3
1 parent fb61945 commit 89eff86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

btchip/btchip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def signMessagePrepareV2(self, path, message):
415415
self.resolvePublicKeysInPath(path)
416416
result = {}
417417
offset = 0
418-
encryptedOutputData = ""
418+
encryptedOutputData = b""
419419
while (offset < len(message)):
420420
params = [];
421421
if offset == 0:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
here = dirname(__file__)
88
setup(
99
name='btchip-python',
10-
version='0.1.21',
10+
version='0.1.22',
1111
author='BTChip',
1212
author_email='[email protected]',
1313
description='Python library to communicate with Ledger Nano dongle',

0 commit comments

Comments
 (0)