Commit b3f7c1b1 authored by Ashot's avatar Ashot
Browse files

Added assert for CWalletTx pointer

parent 0e1a561c
Showing with 1 addition and 0 deletions
+1 -0
......@@ -904,6 +904,7 @@ public:
COutput(const CWalletTx *txIn, int iIn)
{
assert(txIn);
tx = txIn; i = iIn; nDepth = tx->GetDepthInMainChain(false);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment