diff --git a/src/main.h b/src/main.h index 62b2ff277..ec305ae9e 100644 --- a/src/main.h +++ b/src/main.h @@ -450,8 +450,6 @@ public: std::string ToString() const { - if (scriptPubKey.size() < 6) - return "CTxOut(error)"; return strprintf("CTxOut(nValue=%"PRI64d".%08"PRI64d", scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30).c_str()); }