damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit d002654624abd591977cf1549befcc0e17e280ee
parent eb0b1061d8f97d0cd4e8adc5bf5e9574e9f81e1d
Author: hewigovens <360470+hewigovens@users.noreply.github.com>
Date:   Mon, 19 Dec 2022 11:29:01 +0900

don't log private key

Diffstat:
Mdamus/Util/Keys.swift | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/damus/Util/Keys.swift b/damus/Util/Keys.swift @@ -69,7 +69,6 @@ func generate_new_keypair() -> Keypair { let key = try! secp256k1.Signing.PrivateKey() let privkey = hex_encode(key.rawRepresentation) let pubkey = hex_encode(Data(key.publicKey.xonly.bytes)) - print("generating privkey:\(privkey) pubkey:\(pubkey)") return Keypair(pubkey: pubkey, privkey: privkey) }