Do not allow non https payjoin on clearnet
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -97,6 +97,12 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
return null;
}
+ if (Global.Config.Network != Network.RegTest && payjoinEndPointUri.Scheme != "https")
+ {
+ Logger.LogWarning("Payjoin server is not using https. Ignoring...");
+ return null;
+ }
+
// TODO: Use an IHttpClientFactory to construct the HttpClient
if (Global.Config.Network == Network.RegTest)
{

Do not allow non https payjoin on clearnet