public void setScriptSig ( Script scriptSig ) { this . scriptSig = new WeakReference <> ( checkNotNull ( scriptSig ) ) ; // TODO: This should all be cleaned up so we have a consistent internal representation. setScriptBytes ( scriptSig . getProgram ( ) ) ; }
Set the given program as the scriptSig that is supposed to satisfy the connected output script .