Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin

This commit is contained in:
Gavin Andresen 2011-04-12 17:27:15 -04:00
commit d89d456655

View file

@ -958,6 +958,8 @@ void ReacceptWalletTransactions()
}
for (int i = 0; i < txindex.vSpent.size(); i++)
{
if (wtx.IsSpent(i))
continue;
if (!txindex.vSpent[i].IsNull() && wtx.vout[i].IsMine())
{
wtx.MarkSpent(i);