File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -4837,17 +4837,24 @@ void CWallet::ReconsiderZerocoins(std::list<CZerocoinMint>& listMintsRestored)
4837
4837
return ;
4838
4838
4839
4839
for (CZerocoinMint mint : listMints) {
4840
- if (IsSerialKnown (mint.GetSerialNumber ()))
4840
+ if (IsSerialKnown (mint.GetSerialNumber ())) {
4841
+ LogPrintf (" %s: serial %s is already in the blockchain\n " , __func__, mint.GetSerialNumber ().GetHex ());
4841
4842
continue ;
4843
+ }
4844
+
4842
4845
4843
4846
uint256 txHash;
4844
- if (!GetZerocoinMint (mint.GetValue (), txHash))
4847
+ if (!GetZerocoinMint (mint.GetValue (), txHash)) {
4848
+ LogPrintf (" %s: did not find pubcoin %s in database\n " , __func__, mint.GetValue ().GetHex ());
4845
4849
continue ;
4850
+ }
4846
4851
4847
4852
uint256 hashBlock = 0 ;
4848
4853
CTransaction tx;
4849
- if (!GetTransaction (txHash, tx, hashBlock))
4854
+ if (!GetTransaction (txHash, tx, hashBlock)) {
4855
+ LogPrintf (" %s: failed to find transaction %s in blockchain\n " , __func__, txHash.GetHex ());
4850
4856
continue ;
4857
+ }
4851
4858
4852
4859
mint.SetTxHash (txHash);
4853
4860
mint.SetHeight (mapBlockIndex.at (hashBlock)->nHeight );
You can’t perform that action at this time.
0 commit comments