aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-06-10 09:15:55 -0400
committerJeff Garzik <jgarzik@bitpay.com>2014-06-10 09:15:55 -0400
commit3d7399cb171c2468b81a9179cb04358c56b4c7c4 (patch)
treecb1bdccfb3538dc764932a59dcdbc1fddd9ccb93 /src/script.h
parent588fb4e82f0c3ade92646fdd6b325003be46f459 (diff)
parent6dd5edb7de7f5f9aeac71b676c71186405a15376 (diff)
downloadbitcoin-3d7399cb171c2468b81a9179cb04358c56b4c7c4.tar.xz
Merge pull request #4318 from laanwj/2014_06_script_unused_debugging
Remove unused Print/PrintHex 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));