diff options
| author | Pieter Wuille <[email protected]> | 2013-04-07 03:40:33 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-04-07 03:43:55 +0200 |
| commit | 1c06aa98c63fff02679d446588fad06ae8cd706f (patch) | |
| tree | 505b78cebe55e09d00d54521c434cc0af2397165 /src/wallet.cpp | |
| parent | Merge pull request #2459 from Diapolo/pro-file (diff) | |
| download | discoin-1c06aa98c63fff02679d446588fad06ae8cd706f.tar.xz discoin-1c06aa98c63fff02679d446588fad06ae8cd706f.zip | |
Always print full hashes (tx, block, inv)
Diffstat (limited to 'src/wallet.cpp')
| -rw-r--r-- | src/wallet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 5761b008f..e150a5035 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -420,7 +420,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn) } else printf("AddToWallet() : found %s in block %s not in index\n", - wtxIn.GetHash().ToString().substr(0,10).c_str(), + wtxIn.GetHash().ToString().c_str(), wtxIn.hashBlock.ToString().c_str()); } } @@ -449,7 +449,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn) } //// debug print - printf("AddToWallet %s %s%s\n", wtxIn.GetHash().ToString().substr(0,10).c_str(), (fInsertedNew ? "new" : ""), (fUpdated ? "update" : "")); + printf("AddToWallet %s %s%s\n", wtxIn.GetHash().ToString().c_str(), (fInsertedNew ? "new" : ""), (fUpdated ? "update" : "")); // Write to disk if (fInsertedNew || fUpdated) @@ -845,7 +845,7 @@ void CWalletTx::RelayWalletTransaction() { if (GetDepthInMainChain() == 0) { uint256 hash = GetHash(); - printf("Relaying wtx %s\n", hash.ToString().substr(0,10).c_str()); + printf("Relaying wtx %s\n", hash.ToString().c_str()); RelayTransaction((CTransaction)*this, hash); } } |