From 33b4f56f651f45b35d8885725e448cc4f20e5dc6 Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Tue, 14 Nov 2023 13:25:33 +0100 Subject: [PATCH] IdentityService: Remove unused createAndInitializeIdentity method --- identity/src/main/java/bisq/identity/IdentityService.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/identity/src/main/java/bisq/identity/IdentityService.java b/identity/src/main/java/bisq/identity/IdentityService.java index 04f000276c..febb5ebb80 100644 --- a/identity/src/main/java/bisq/identity/IdentityService.java +++ b/identity/src/main/java/bisq/identity/IdentityService.java @@ -89,12 +89,6 @@ public CompletableFuture shutdown() { // API /////////////////////////////////////////////////////////////////////////////////////////////////// - public CompletableFuture createAndInitializeIdentity(String keyId, String identityTag) { - Identity identity = createIdentity(keyId, identityTag); - return networkService.getNetworkIdOfInitializedNode(identity.getNetworkId(), identity.getTorIdentity()) - .thenApply(nodes -> identity); - } - private Identity createIdentity(String keyId, String identityTag) { KeyPair keyPair = keyPairService.getOrCreateKeyPair(keyId); PubKey pubKey = new PubKey(keyPair.getPublic(), keyId);