Add comment to zcash_script_new_precomputed_tx about references to input buffers

This commit is contained in:
Conrado Gouvea 2022-01-31 15:16:35 -03:00
parent d8c818bfa5
commit 269c5c2e7f
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ enum
///
/// Returns a pointer to the precomputed transaction. Free this with
/// zcash_script_free_precomputed_tx once you are done.
/// The precomputed transaction is guaranteed to not keep a reference to any
/// part of the input buffers, so they can be safely overwritten or deallocated
/// after this function returns.
///
/// If not NULL, err will contain an error/success code for the operation.
void* zcash_script_new_precomputed_tx(