Merge #10164: Wallet: reduce excess logic InMempool()

3491476 Wallet: reduce excess logic InMemPool() (Kewde)

Tree-SHA512: 554ea2827cfd482281fae0ba3d0a7989dbfeace98a35462732ea08bf3cc94c9564a9ea8ca2fa9905b963367d0b56a490ef0d83ceb6731c8f06187de98b6a7f23
pull/9545/merge
Wladimir J. van der Laan 8 years ago
commit e183ea2047
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

@ -1761,10 +1761,7 @@ CAmount CWalletTx::GetChange() const
bool CWalletTx::InMempool() const
{
LOCK(mempool.cs);
if (mempool.exists(GetHash())) {
return true;
}
return false;
return mempool.exists(GetHash());
}
bool CWalletTx::IsTrusted() const

Loading…
Cancel
Save