Initialize a 'sigOutput' from a 'rawOutput', copying or hashing the data as needed. * * Precondition: NULL != result; * NULL != output; */
| 28 | * NULL != output; |
| 29 | */ |
| 30 | static void copyOutput(sigOutput* result, const rawBitcoinOutput* output) { |
| 31 | hashBuffer(&result->scriptPubKey, &output->scriptPubKey); |
| 32 | result->value = output->value; |
| 33 | } |
| 34 | |
| 35 | /* Initialize a 'sigInput' from a 'rawBitcoinInput', copying or hashing the data as needed. |
| 36 | * |
no test coverage detected