CreateTransaction calls KeepDestination on ReserveDestination before success

This commit is contained in:
Gregory Sanders
2019-06-13 14:12:01 -04:00
parent 6c1e45c4c4
commit d9ff862f2d
2 changed files with 4 additions and 8 deletions

View File

@@ -281,9 +281,6 @@ Result CreateRateBumpTransaction(CWallet* wallet, const uint256& txid, const CCo
return Result::WALLET_ERROR;
}
// If change key hasn't been ReturnKey'ed by this point, we take it out of keypool
reservedest.KeepDestination();
// Write back new fee if successful
new_fee = fee_ret;