This commit is contained in:
jl777
2018-07-17 05:29:01 -11:00
parent 7000ef1af3
commit 3872e9cb59

View File

@@ -2129,10 +2129,9 @@ std::vector<uint256> CWallet::ResendWalletTransactionsBefore(int64_t nTime)
}
BOOST_FOREACH(PAIRTYPE(const unsigned int, CWalletTx*)& item, mapSorted)
{
CWalletTx& wtx;
if ( item.second != 0 )
{
wtx = *item.second;
CWalletTx &wtx = *item.second;
if (wtx.RelayWalletTransaction())
result.push_back(wtx.GetHash());
}