In some themes, the WooCommerce Minicart Widget has an issue in the calculation of totals, because the discounts
This is a fix that calculates the total after that the plugin applies the discounts. Add this code inside the file functions.php of your theme or child-theme.
Plugin info: YITH WooCommerce Dynamic Pricing and Discounts Premium