Skip to content

Commit

Permalink
Remove useless printings due to privacy
Browse files Browse the repository at this point in the history
No need to print all your pubkeys into the debug log 🤦
  • Loading branch information
marpme committed Dec 21, 2019
1 parent 32757cd commit 1d3ea5f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/stealth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,17 +716,17 @@ bool GenerateNewStealthAddress(std::string& sError, std::string& sLabel, CStealt
return false;
};

// leaving Log Prints for debugging reasons.
LogPrintf("getnewstealthaddress: \n");
LogPrintf("scan_pubkey \n");
for (uint32_t i = 0; i < scan_pubkey.size(); ++i)
LogPrintf("%02x\n", scan_pubkey[i]);
LogPrintf("\n");

LogPrintf("spend_pubkey \n");
for (uint32_t i = 0; i < spend_pubkey.size(); ++i)
LogPrintf("%02x\n", spend_pubkey[i]);
LogPrintf("\n");
// leaving Log Prints for debugging reasons.
// LogPrintf("getnewstealthaddress: \n");
// LogPrintf("scan_pubkey \n");
// for (uint32_t i = 0; i < scan_pubkey.size(); ++i)
// LogPrintf("%02x\n", scan_pubkey[i]);
// LogPrintf("\n");

// LogPrintf("spend_pubkey \n");
// for (uint32_t i = 0; i < spend_pubkey.size(); ++i)
// LogPrintf("%02x\n", spend_pubkey[i]);
// LogPrintf("\n");

sxAddr.label = sLabel;
sxAddr.scan_pubkey = scan_pubkey;
Expand Down

0 comments on commit 1d3ea5f

Please sign in to comment.