Enable windows build & Ledger fix

This commit is contained in:
James 2019-03-05 20:02:13 +01:00
parent 950f294c5e
commit f2a572bf7a
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,6 @@ docker run --rm \
sudo find . -name '*.po' -delete
sudo find . -name '*.pot' -delete
exit 0
export WINEARCH=win32
export WINEPREFIX=/root/.wine-32

View File

@ -17,7 +17,10 @@ from electrum_zclassic.util import print_error, is_verbose, bfh, bh2u, versiontu
def setAlternateCoinVersions(self, regular, p2sh):
apdu = [self.BTCHIP_CLA, 0x14, 0x00, 0x00, 0x02, regular, p2sh]
apdu = [ 0xE0, 0x14, 0x01, 0x05, 0x16, 0x1C, 0xB8, 0x1C, 0xBD, 0x01, 0x08]
apdu.extend("ZClassic".encode())
apdu.append(0x03)
apdu.extend("ZCL".encode())
self.dongle.exchange(bytearray(apdu))
try: