aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-06-10 15:01:23 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-10 15:03:21 +0200
commit6dd5edb7de7f5f9aeac71b676c71186405a15376 (patch)
treecb1bdccfb3538dc764932a59dcdbc1fddd9ccb93 /src/script.cpp
parent588fb4e82f0c3ade92646fdd6b325003be46f459 (diff)
downloadbitcoin-6dd5edb7de7f5f9aeac71b676c71186405a15376.tar.xz
Remove unused Print/PrintHex functions
You can just use HexStr(script) or script.ToString() for debugging, no need for these extra functions.
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/script.cpp b/src/script.cpp
index 381e84d0b7..11cdfef950 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -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);