[#wallet-PreselectedInput-SetScriptSig]
= xref:wallet.adoc[wallet]::xref:wallet/PreselectedInput.adoc[PreselectedInput]::SetScriptSig
:relfileprefix: ../../
:mrdocs:

Set the scriptSig for this input&period;

== Synopsis

Declared in `&lt;wallet&sol;coincontrol&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetScriptSig(xref:CScript.adoc[CScript] const& script);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *script*
| The scriptSig to use for this input&period;
|===


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