diff options
Diffstat (limited to 'src/protocol.cpp')
| -rw-r--r-- | src/protocol.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index d6e340e36..1e22467a3 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -16,6 +16,7 @@ static const char* ppszTypeName[] = "ERROR", "tx", "block", + "filtered block" }; CMessageHeader::CMessageHeader() @@ -140,7 +141,7 @@ const char* CInv::GetCommand() const std::string CInv::ToString() const { - return strprintf("%s %s", GetCommand(), hash.ToString().substr(0,20).c_str()); + return strprintf("%s %s", GetCommand(), hash.ToString().c_str()); } void CInv::print() const |