Invalid pushdata due to truncation
| 379 | pass |
| 380 | |
| 381 | class CScriptTruncatedPushDataError(CScriptInvalidError): |
| 382 | """Invalid pushdata due to truncation""" |
| 383 | def __init__(self, msg, data): |
| 384 | self.data = data |
| 385 | super().__init__(msg) |
| 386 | |
| 387 | |
| 388 | # This is used, eg, for blockchain heights in coinbase scripts (bip34) |