diff options
| author | Gavin Andresen <[email protected]> | 2013-09-18 20:38:08 +1000 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-09-18 20:39:25 +1000 |
| commit | 881a85a22d76c875f519cd54388a419ec6f70857 (patch) | |
| tree | 3f71daa59ac35c5dda44747c0b62dbc8602d8f1c /src/script.h | |
| parent | Refactor: OutputDebugStringF -> LogPrint(category, ...) (diff) | |
| download | discoin-881a85a22d76c875f519cd54388a419ec6f70857.tar.xz discoin-881a85a22d76c875f519cd54388a419ec6f70857.zip | |
Replace printf with LogPrintf / LogPrint
Diffstat (limited to 'src/script.h')
| -rw-r--r-- | src/script.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script.h b/src/script.h index 0ab47678e..f5ed61154 100644 --- a/src/script.h +++ b/src/script.h @@ -560,7 +560,7 @@ public: void PrintHex() const { - printf("CScript(%s)\n", HexStr(begin(), end(), true).c_str()); + LogPrintf("CScript(%s)\n", HexStr(begin(), end(), true).c_str()); } std::string ToString() const @@ -588,7 +588,7 @@ public: void print() const { - printf("%s\n", ToString().c_str()); + LogPrintf("%s\n", ToString().c_str()); } CScriptID GetID() const |