public static Hash fromHexStringLenient(final String str) {
    return new Hash(Bytes32.fromHexStringLenient(str));
  }
From hex string lenient hash.

@param str the str
@return the hash
datatypes/src/main/java/org/hyperledger/besu/datatypes/Hash.java