Remove NullPayjoinClient
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/BuildTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/BuildTabViewModel.cs
@@ -18,7 +18,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public override string DoButtonText => "Build Transaction";
public override string DoingButtonText => "Building Transaction...";
- // Must be here, it binded at SendControlView.xaml.
+ // Must be here, it bound at SendControlView.xaml.
public string PayjoinEndPoint => null;
protected override async Task BuildTransaction(string password, PaymentIntent payments, FeeStrategy feeStrategy, bool allowUnconfirmed = false, IEnumerable<OutPoint> allowedInputs = null)

MODIFY
WalletWasabi/Wallets/Wallet.cs
WalletWasabi/Wallets/Wallet.cs
@@ -241,7 +241,7 @@ namespace WalletWasabi.Wallets
},
allowedInputs,
SelectLockTimeForTransaction,
- payjoinClient ?? new NullPayjoinClient());
+ payjoinClient);
}
public void RenameLabel(SmartCoin coin, SmartLabel newLabel)

DELETE
WalletWasabi/WebClients/PayJoin/NullPayjoinClient.cs
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-using NBitcoin;
-
-namespace WalletWasabi.WebClients.PayJoin
-{
- public class NullPayjoinClient : IPayjoinClient
- {
- public Uri PaymentUrl => new Uri("https://");
-
- public Task<PSBT> RequestPayjoin(PSBT originalTx, IHDKey accountKey, RootedKeyPath rootedKeyPath, CancellationToken cancellationToken)
- {
- return Task.FromResult(originalTx);
- }
- }
-}

Remove NullPayjoinClient