Browse Source

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

0.8
Gavin Andresen 13 years ago
parent
commit
d89d456655
  1. 2
      main.cpp

2
main.cpp

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

Loading…
Cancel
Save