Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin
This commit is contained in:
commit
d89d456655
1 changed files with 2 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue