mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Remove unused Print/PrintHex functions
You can just use HexStr(script) or script.ToString() for debugging, no need for these extra functions.
This commit is contained in:
@@ -838,10 +838,6 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, co
|
||||
valtype& vchSig = stacktop(-2);
|
||||
valtype& vchPubKey = stacktop(-1);
|
||||
|
||||
////// debug print
|
||||
//PrintHex(vchSig.begin(), vchSig.end(), "sig: %s\n");
|
||||
//PrintHex(vchPubKey.begin(), vchPubKey.end(), "pubkey: %s\n");
|
||||
|
||||
// Subset of script starting at the most recent codeseparator
|
||||
CScript scriptCode(pbegincodehash, pend);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user