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

Commit c2bb216

Browse files
committed
Fix tabs
1 parent 7ea64d0 commit c2bb216

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

btchip/btchip.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def getTrustedInput(self, transaction, index):
149149
apdu.extend(params)
150150
self.dongle.exchange(bytearray(apdu))
151151
offset = 0
152-
while True:
152+
while True:
153153
blockLength = 251
154154
if ((offset + blockLength) < len(trinput.script)):
155155
dataLength = blockLength
@@ -162,8 +162,8 @@ def getTrustedInput(self, transaction, index):
162162
apdu.extend(params)
163163
self.dongle.exchange(bytearray(apdu))
164164
offset += dataLength
165-
if (offset >= len(trinput.script)):
166-
break
165+
if (offset >= len(trinput.script)):
166+
break
167167
# Number of outputs
168168
apdu = [ self.BTCHIP_CLA, self.BTCHIP_INS_GET_TRUSTED_INPUT, 0x80, 0x00 ]
169169
params = []

0 commit comments

Comments
 (0)