bitcoin/bitcoin — pull request #3356 by laanwj (2013-12-04 14:32:49+00:00)
Title: Prevent empty transactions from being added to vtxPrev

CWalletTx::AddSupportingTransactions() was adding empty transaction to vtxPrev in some cases. Skip over these.

Part one of the solution to #3190. This prevents invalid vtxPrev from entering the wallet, but not current ones being transmitted.