[#UpdateInput]
= UpdateInput
:mrdocs:

Write the scriptSig and witness from signature data back into an input&period;

== Synopsis

Declared in `&lt;script&sol;sign&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
UpdateInput(
    xref:CTxIn.adoc[CTxIn]& input,
    xref:SignatureData.adoc[SignatureData] const& data);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| The transaction input to update&period;
| *data*
| The signature data to apply to the input&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
