aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-08-20 19:22:15 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2012-11-13 21:19:58 +0000
commitc34a32699ecfb8b5557922d7674db26771cec6ac (patch)
tree8460273619520ab5d19f270f353054282028acd9 /src/main.h
parentf3a84c3a6b22cfcf4fdcf187997e87b96a910318 (diff)
downloadbitcoin-c34a32699ecfb8b5557922d7674db26771cec6ac.tar.xz
Change block references in debug.log to full hash instead of just 0..20
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 7b368ef2b0..d066586269 100644
--- a/src/main.h
+++ b/src/main.h
@@ -176,7 +176,7 @@ CBlockIndex * InsertBlockIndex(uint256 hash);
static inline std::string BlockHashStr(const uint256& hash)
{
- return hash.ToString().substr(0, 20);
+ return hash.ToString();
}
bool GetWalletFile(CWallet* pwallet, std::string &strWalletFileOut);