From a7685f00568e841ac643475e508fb21aba5565f5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 5 Jul 2019 04:22:26 -1100 Subject: [PATCH] +print --- src/keystore.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/keystore.cpp b/src/keystore.cpp index 0a79f7df7..8b794f2ce 100644 --- a/src/keystore.cpp +++ b/src/keystore.cpp @@ -71,7 +71,12 @@ bool CBasicKeyStore::AddKeyPubKey(const CKey& key, const CPubKey &pubkey) { LOCK(cs_KeyStore); mapKeys[pubkey.GetID()] = key; - fprintf(stderr,"addpubkey pub %s\n",pubkey.GetHex().c_str()); + { + int32_t i; + for (i=0; i<33; i++) + fprintf(stderr,"%02x",((uint8_t *)&pubkey)[i]); + fprintf(stderr," addpubkey pub\n"); + } return true; }