code: public static LegacyAddress fromScriptHash(NetworkParameters params, byte[] hash160) throws AddressFormatException {
          return new LegacyAddress(params, true, hash160);
      }
docs: Construct a {@link LegacyAddress} that represents the given P2SH script hash.
  
  @param params
  network this address is valid for
  @param hash160
  P2SH script hash
  @return constructed address