| 1198 | } |
| 1199 | |
| 1200 | uint256 GetOutputsHash(const CTransaction& txTo) { |
| 1201 | CHashWriter ss(SER_GETHASH, 0); |
| 1202 | for (const auto& txout : txTo.vout) { |
| 1203 | ss << txout; |
| 1204 | } |
| 1205 | return ss.GetHash(); |
| 1206 | } |
| 1207 | |
| 1208 | } // anon namespace |
| 1209 |
no test coverage detected