docs: 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());
      }