From 8ffe3722b4f8c1ed63605c06af93c6dac29c101d Mon Sep 17 00:00:00 2001 From: nagarwal4 <107046041+nagarwal4@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:42:30 +0100 Subject: [PATCH] Removed commented code --- .../Nexus/SigningService/SigningService.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/backend/core/src/Core.Infrastructure/Nexus/SigningService/SigningService.cs b/backend/core/src/Core.Infrastructure/Nexus/SigningService/SigningService.cs index 0e6e04d..7c8dcd2 100644 --- a/backend/core/src/Core.Infrastructure/Nexus/SigningService/SigningService.cs +++ b/backend/core/src/Core.Infrastructure/Nexus/SigningService/SigningService.cs @@ -46,10 +46,6 @@ public async Task GenerateKeyPair(Blockchain blockchain) var response = await _httpClient.PostAsync($"CreateSigningPair?code={_settings.CreateSigningPairKey}", httpContent); - - //var response = await _httpClient.PostAsJsonAsync - // ($"CreateSigningPair?code={_settings.CreateSigningPairKey}", model, jsonSerializerOptions); - var json = await response.Content.ReadAsStringAsync(); if (!response.IsSuccessStatusCode) @@ -86,9 +82,6 @@ public async Task Sign(SignRequest request) _logger.LogInformation("Posting model: {json}", jsonObj); - //var response = await _httpClient.PostAsJsonAsync - // ($"CreateSignature?code={_settings.CreateSignatureKey}", model); - var response = await _httpClient.PostAsync($"CreateSignature?code={_settings.CreateSignatureKey}", httpContent); var json = await response.Content.ReadAsStringAsync();