| 84 | } |
| 85 | |
| 86 | uint256 CTransaction::ComputeWitnessHash() const |
| 87 | { |
| 88 | if (!HasWitness()) { |
| 89 | return hash; |
| 90 | } |
| 91 | return SerializeHash(*this, SER_GETHASH, 0); |
| 92 | } |
| 93 | |
| 94 | // ELEMENTS ONLY |
| 95 | uint256 CTransaction::GetWitnessOnlyHash() const |
nothing calls this directly
no test coverage detected