use of com.radixdlt.utils.RandomHasher in project radixdlt by radixdlt.
the class PendingVotesTest method setup.
@Before
public void setup() {
this.hasher = new RandomHasher();
this.pendingVotes = new PendingVotes(hasher);
}
use of com.radixdlt.utils.RandomHasher in project radixdlt by radixdlt.
the class MessageCentralValidatorSyncTest method setUp.
@Before
public void setUp() {
this.self = mock(BFTNode.class);
ECPublicKey pubKey = mock(ECPublicKey.class);
when(self.getKey()).thenReturn(pubKey);
this.messageCentral = MessageCentralMockProvider.get();
this.hasher = new RandomHasher();
this.sync = new MessageCentralValidatorSync(messageCentral, hasher);
}
use of com.radixdlt.utils.RandomHasher in project radixdlt by radixdlt.
the class PendingVotesTest method setup.
@Before
public void setup() {
this.hasher = new RandomHasher();
this.pendingVotes = new PendingVotes(hasher);
}
Aggregations