Erase failed stake transaction from wallet to prevent slow return and loss of stake age

This commit is contained in:
Michael Toutonghi
2018-06-01 07:29:34 -07:00
parent 84d9a9b54a
commit ce379cf71a
3 changed files with 20 additions and 3 deletions

View File

@@ -51,3 +51,7 @@ void UnregisterAllValidationInterfaces() {
void SyncWithWallets(const CTransaction &tx, const CBlock *pblock) {
g_signals.SyncTransaction(tx, pblock);
}
void EraseFromWallets(const uint256 &hash) {
g_signals.EraseTransaction(hash);
}