| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -149,7 +149,7 @@ def getTrustedInput(self, transaction, index): | |||
| 149 | 149 | apdu.extend(params) | |
| 150 | 150 | self.dongle.exchange(bytearray(apdu)) | |
| 151 | 151 | offset = 0 | |
| 152 | - while True: | ||
| 152 | + while True: | ||
| 153 | 153 | blockLength = 251 | |
| 154 | 154 | if ((offset + blockLength) < len(trinput.script)): | |
| 155 | 155 | dataLength = blockLength | |
@@ -162,8 +162,8 @@ def getTrustedInput(self, transaction, index): | |||
| 162 | 162 | apdu.extend(params) | |
| 163 | 163 | self.dongle.exchange(bytearray(apdu)) | |
| 164 | 164 | offset += dataLength | |
| 165 | - if (offset >= len(trinput.script)): | ||
| 166 | - break | ||
| 165 | + if (offset >= len(trinput.script)): | ||
| 166 | + break | ||
| 167 | 167 | # Number of outputs | |
| 168 | 168 | apdu = [ self.BTCHIP_CLA, self.BTCHIP_INS_GET_TRUSTED_INPUT, 0x80, 0x00 ] | |
| 169 | 169 | params = [] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments