True if witness
(self)
| 413 | return len(self.vin) == 1 and self.vin[0].prevout.is_null() |
| 414 | |
| 415 | def has_witness(self): |
| 416 | """True if witness""" |
| 417 | return not self.wit.is_null() |
| 418 | |
| 419 | def __repr__(self): |
| 420 | return "CTransaction(%r, %r, %i, %i, %r)" % (self.vin, self.vout, |
no test coverage detected