diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-10 15:01:23 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-10 15:03:21 +0200 |
commit | 6dd5edb7de7f5f9aeac71b676c71186405a15376 (patch) | |
tree | cb1bdccfb3538dc764932a59dcdbc1fddd9ccb93 /src/script.h | |
parent | 588fb4e82f0c3ade92646fdd6b325003be46f459 (diff) |
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.h | 11 |
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)); |