Skip to content

Commit

Permalink
Merge pull request #1008 from Portkey-Wallet/feature/rm-pk
Browse files Browse the repository at this point in the history
remove pk
  • Loading branch information
sunny-k123 authored Dec 5, 2024
2 parents 5b4806e + 47201e9 commit 7ac0d6e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using System.Security.Cryptography;
using AElf;
using AElf.Cryptography;

namespace CAServer.Commons;

public static class SignatureKeyHelp
{
public static string CommonPrivateKeyForCallTx { get; set; } = Convert.ToBase64String(ECDsa.Create().ExportPkcs8PrivateKey());
public static string CommonPrivateKeyForCallTx { get; set; } = CryptoHelper.GenerateKeyPair().PrivateKey.ToHex();
}

0 comments on commit 7ac0d6e

Please sign in to comment.