[#wallet-PreselectedInput-SetScriptWitness] = xref:wallet.adoc[wallet]::xref:wallet/PreselectedInput.adoc[PreselectedInput]::SetScriptWitness :relfileprefix: ../../ :mrdocs: Set the scriptWitness for this input. == Synopsis Declared in `<wallet/coincontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetScriptWitness(xref:CScriptWitness.adoc[CScriptWitness] const& script_wit); ---- == Parameters [cols="1,4"] |=== | Name| Description | *script_wit* | The scriptWitness to use for this input. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#