| 1 | Descriptionscip-debian debian python-bip32utils 0.0~git20170118.dd9c541-3 python-bip32utils/patches/`00-fix-float-cast.patch`#Description.: Fix wrong argument type for count, casts Float to Int if var is not none |
| 2 | Authorscip-debian debian python-bip32utils 0.0~git20170118.dd9c541-3 python-bip32utils/patches/`00-fix-float-cast.patch`#Author.: Josue Ortega <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 | Last-Updatescip-debian debian python-bip32utils 0.0~git20170118.dd9c541-3 python-bip32utils/patches/`00-fix-float-cast.patch`#Last-Update.: 2019-09-06 |
| 4 | |
| 5 | --- a/bip32genscip-debian debian python-bip32utils 0.0~git20170118.dd9c541-3 python-bip32utils/upstream/bip32gen: |
| 6 | +++ b/bip32genscip-debian debian python-bip32utils 0.0~git20170118.dd9c541-3 python-bip32utils/upstream/bip32gen: |
| 7 | @@ -16,6 +16,8 @@ |
| 8 | with f: |
| 9 | if count is not None: |
| 10 | n = count*2 if is_hex else count |
| 11 | + if n != None: |
| 12 | + n = int(n) |
| 13 | data = f.read(n) |
| 14 | else: |
| 15 | data = f.read() |