mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Use peerNoVerification
This commit is contained in:
parent
5d5fd49a45
commit
c12b94b7c2
@ -114,7 +114,8 @@ class BootstrappedPeerFactory {
|
||||
try {
|
||||
setState(BootstrapState.PEER_CREATION, "We create a P2P node.");
|
||||
|
||||
PeerMapConfiguration pmc = new PeerMapConfiguration(Utils.makeSHAHash(keyPair.getPublic().getEncoded()));
|
||||
Number160 peerId = Utils.makeSHAHash(keyPair.getPublic().getEncoded());
|
||||
PeerMapConfiguration pmc = new PeerMapConfiguration(peerId).peerNoVerification();
|
||||
PeerMap pm = new PeerMap(pmc);
|
||||
peer = new PeerBuilder(keyPair).ports(port).peerMap(pm).start();
|
||||
peerDHT = new PeerBuilderDHT(peer).storageLayer(new StorageLayer(storage)).start();
|
||||
|
Loading…
Reference in New Issue
Block a user