Remove guard from `RpcClientBase` to allow mocking.
MODIFY
WalletWasabi/BitcoinCore/Rpc/RpcClientBase.cs
WalletWasabi/BitcoinCore/Rpc/RpcClientBase.cs
@@ -16,7 +16,7 @@ public class RpcClientBase : IRPCClient
{
public RpcClientBase(RPCClient rpc)
{
- Rpc = Guard.NotNull(nameof(rpc), rpc);
+ Rpc = rpc;
}
public Network Network => Rpc.Network;

Remove guard from `RpcClientBase` to allow mocking.