aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
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.h
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.h')
-rw-r--r--src/script.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/script.h b/src/script.h
index aed2b7a6ad..a282e7dc04 100644
--- a/src/script.h
+++ b/src/script.h
@@ -691,12 +691,6 @@ public:
void SetDestination(const CTxDestination& address);
void SetMultisig(int nRequired, const std::vector<CPubKey>& keys);
-
- void PrintHex() const
- {
- LogPrintf("CScript(%s)\n", HexStr(begin(), end(), true).c_str());
- }
-
std::string ToString() const
{
std::string str;
@@ -720,11 +714,6 @@ public:
return str;
}
- void print() const
- {
- LogPrintf("%s\n", ToString());
- }
-
CScriptID GetID() const
{
return CScriptID(Hash160(*this));