aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2012-08-20 19:22:15 +0000
committerLuke Dashjr <[email protected]>2012-11-13 21:19:58 +0000
commitc34a32699ecfb8b5557922d7674db26771cec6ac (patch)
tree8460273619520ab5d19f270f353054282028acd9 /src
parentAbstract block hash substr extraction (for debug.log) into BlockHashStr inline (diff)
downloaddiscoin-c34a32699ecfb8b5557922d7674db26771cec6ac.tar.xz
discoin-c34a32699ecfb8b5557922d7674db26771cec6ac.zip
Change block references in debug.log to full hash instead of just 0..20
Diffstat (limited to 'src')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 7b368ef2b..d06658626 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);