use of tech.pegasys.teku.core.signatures.NoOpLocalSigner in project teku by ConsenSys.
the class SlashingProtectionLoggerTest method createProtectedValidator.
private Validator createProtectedValidator(BLSPublicKey publicKey) {
Signer localSigner = new NoOpLocalSigner();
Signer signer = new SlashingProtectedSigner(publicKey, slashingProtector, localSigner);
return new Validator(publicKey, signer, mock(GraffitiProvider.class));
}
Aggregations