docs: public synchronized Sha256Hash hashForWitnessSignature(
              int inputIndex,
              Script scriptCode,
              Coin prevValue,
              SigHash type,
              boolean anyoneCanPay) {
          return hashForWitnessSignature(inputIndex, scriptCode.getProgram(), prevValue, type, anyoneCanPay);
      }