importproof proc read bad id

This commit is contained in:
dimxy
2019-04-19 14:41:48 +05:00
parent d87f6a158a
commit a11333e766
+2
View File
@@ -60,6 +60,8 @@ public:
READWRITE(notaryTxids); READWRITE(notaryTxids);
else if (proofKind == PROOF_MERKLEBLOCK) else if (proofKind == PROOF_MERKLEBLOCK)
READWRITE(proofBlock); READWRITE(proofBlock);
else
proofKind = PROOF_NONE; // if we have read some trash
} }
bool IsMerkleBranch(TxProof &_proofBranch) const { bool IsMerkleBranch(TxProof &_proofBranch) const {