Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
dangershony committed Dec 6, 2024
1 parent b075103 commit 5eaf2a5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 415 deletions.
6 changes: 2 additions & 4 deletions src/Angor.Test/ProjectIdentifierDerivationTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using NBitcoin;
using NBitcoin.Secp256k1;
using Xunit;

namespace Angor.Shared.Tests
{
Expand All @@ -19,8 +17,8 @@ public void TestComputeSharedSecretMethods()
var ecPubKey2 = ecPrivKey2.CreatePubKey();

// Act
var sharedSecretFounder = ProjectIdentifierDerivation.ComputeSharedSecretFounder(ecPrivKey1, ecPubKey2);
var sharedSecretAngor = ProjectIdentifierDerivation.ComputeSharedSecretAngor(ecPubKey1, ecPrivKey2);
var sharedSecretFounder = ProjectIdentifierDerivation.ComputeSharedSecretPublicKeySender(ecPrivKey1, ecPubKey2);
var sharedSecretAngor = ProjectIdentifierDerivation.ComputeSharedSecretPrivateKeyReceiver(ecPubKey1, ecPrivKey2);

// Assert
Assert.Equal(sharedSecretFounder.ToBytes(), sharedSecretAngor.CreatePubKey().ToBytes());
Expand Down
104 changes: 0 additions & 104 deletions src/Angor/Shared/ByteHelpers.cs

This file was deleted.

Loading

0 comments on commit 5eaf2a5

Please sign in to comment.