From 881a85a22d76c875f519cd54388a419ec6f70857 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Wed, 18 Sep 2013 20:38:08 +1000 Subject: Replace printf with LogPrintf / LogPrint --- src/script.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/script.h') diff --git a/src/script.h b/src/script.h index 0ab47678e8..f5ed611548 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 -- cgit v1.2.3