Remove useless extension
MODIFY
WalletWasabi/Extensions/NBitcoinExtensions.cs
WalletWasabi/Extensions/NBitcoinExtensions.cs
@@ -122,7 +122,7 @@ namespace NBitcoin
.Where(x => includeSingle || x.Value > 1);
}
- public static int GetAnonymitySet(this Transaction me, int outputIndex)
+ public static int GetAnonymitySet(this Transaction me, uint outputIndex)
{
// 1. Get the output corresponting to the output index.
var output = me.Outputs[outputIndex];
@@ -134,8 +134,6 @@ namespace NBitcoin
return anonSet;
}
- public static int GetAnonymitySet(this Transaction me, uint outputIndex) => GetAnonymitySet(me, (int)outputIndex);
-
public static bool IsLikelyCoinjoin(this Transaction me)
=> me.Inputs.Count > 1 // The tx must have more than one input in order to be a coinjoin.
&& me.HasIndistinguishableOutputs(); // The tx must have more than one equal output in order to be a coinjoin.

Remove useless extension