-
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ def getch(): | |
# skip special keys: read the scancode and repeat | ||
msvcrt.getch() | ||
continue | ||
return key.decode("latin1") | ||
return key.decode() | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
prusnak
Author
Member
|
||
|
||
|
||
def get_buttonrequest_value(code): | ||
|
@@ -499,7 +499,7 @@ def _prepare_sign_tx(self, inputs, outputs): | |
raise RuntimeError("TX_API not defined") | ||
|
||
prev_tx = self.tx_api.get_tx( | ||
binascii.hexlify(inp.prev_hash).decode("utf-8") | ||
binascii.hexlify(inp.prev_hash).decode() | ||
) | ||
txes[inp.prev_hash] = prev_tx | ||
|
||
|
+0 −2 | defs/support.json | |
+0 −32 | protob/messages-cardano.proto | |
+2 −2 | tools/cointool.py |
I suspect this one is wrong;
latin1
can decode bytes 0-255, unlikeascii
or the defaultutf-8
. We would have to test on Windows whether this breaks something.