diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-06-10 15:01:23 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-10 15:03:21 +0200 |
| commit | 6dd5edb7de7f5f9aeac71b676c71186405a15376 (patch) | |
| tree | cb1bdccfb3538dc764932a59dcdbc1fddd9ccb93 /src/script.h | |
| parent | Merge pull request #4305 (diff) | |
| download | discoin-6dd5edb7de7f5f9aeac71b676c71186405a15376.tar.xz discoin-6dd5edb7de7f5f9aeac71b676c71186405a15376.zip | |
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 aed2b7a6a..a282e7dc0 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)); |