ReacceptWalletTransactions don't remove from wallet if initial block download
This commit is contained in:
@@ -116,6 +116,7 @@
|
||||
|
||||
// todo:
|
||||
// verify playerdata is usable
|
||||
// detect playerdeath/quit to prevent illegal keystrokes vector
|
||||
// verify keystrokes tx is in mempool and confirmed
|
||||
// check that bailout is legal, ie. proper gametxid vin
|
||||
// verify amulet possession in pack
|
||||
|
||||
@@ -2810,9 +2810,12 @@ void CWallet::ReacceptWalletTransactions()
|
||||
}
|
||||
}
|
||||
}
|
||||
for (auto hash : vwtxh)
|
||||
if ( IsInitialBlockDownload() == 0 )
|
||||
{
|
||||
EraseFromWallet(hash);
|
||||
for (auto hash : vwtxh)
|
||||
{
|
||||
EraseFromWallet(hash);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user