Add ZeroCred hack
MODIFY
WalletWasabi/WabiSabi/Crypto/ZeroCredentialPool.cs
WalletWasabi/WabiSabi/Crypto/ZeroCredentialPool.cs
@@ -62,5 +62,17 @@ namespace WalletWasabi.WabiSabi.Crypto
}
return credentialsToReturn;
}
+
+ public Credential GetZeroCredential()
+ {
+ if (_zeroValueCredentials.TryDequeue(out var credential))
+ {
+ return credential;
+ }
+ else
+ {
+ throw new InvalidOperationException("ran out of zero credentials");
+ }
+ }
}
}

Add ZeroCred hack