Fix inverted boolean logic

This commit is contained in:
nicolas.dorier
2019-12-04 17:19:21 +09:00
parent 1559c510be
commit 544597348b
2 changed files with 2 additions and 2 deletions

View File

@@ -341,7 +341,7 @@ namespace BTCPayServer.Controllers
private static bool IsTrezorT(HwiEnumerateEntry deviceEntry)
{
return (deviceEntry.Model != HardwareWalletModels.Trezor_T || deviceEntry.Model != HardwareWalletModels.Trezor_T_Simulator);
return (deviceEntry.Model == HardwareWalletModels.Trezor_T || deviceEntry.Model == HardwareWalletModels.Trezor_T_Simulator);
}
public StoreData CurrentStore