| 1326 | /** Serialize an output of txTo */ |
| 1327 | template<typename S> |
| 1328 | void SerializeOutput(S &s, unsigned int nOutput) const { |
| 1329 | if (fHashSingle && nOutput != nIn) |
| 1330 | // Do not lock-in the txout payee at other indices as txin |
| 1331 | ::Serialize(s, CTxOut()); |
| 1332 | else |
| 1333 | ::Serialize(s, txTo.vout[nOutput]); |
| 1334 | } |
| 1335 | |
| 1336 | /** Serialize txTo */ |
| 1337 | template<typename S> |