mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 18:53:23 -03:00
Merge #10421: [qt] Remove excess logic: Prefer "return foo;" to "if (foo) { return true; } else { return false; }"
e49b868
[qt] Remove excess logic (practicalswift)
Tree-SHA512: ffcdc94843ea5ddd05ab5acec1f047def8d910da8f53c5019ec49199828d7c370efaedc801537b8e1f44e87f694d19d04b70c240416d2eddfaff9cd4abe3ca07
This commit is contained in:
commit
433c57aa6f
1 changed files with 1 additions and 3 deletions
|
@ -702,9 +702,7 @@ bool WalletModel::transactionSignalsRBF(uint256 hash) const
|
||||||
{
|
{
|
||||||
LOCK2(cs_main, wallet->cs_wallet);
|
LOCK2(cs_main, wallet->cs_wallet);
|
||||||
const CWalletTx *wtx = wallet->GetWalletTx(hash);
|
const CWalletTx *wtx = wallet->GetWalletTx(hash);
|
||||||
if (wtx && SignalsOptInRBF(*wtx))
|
return wtx && SignalsOptInRBF(*wtx);
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WalletModel::bumpFee(uint256 hash)
|
bool WalletModel::bumpFee(uint256 hash)
|
||||||
|
|
Loading…
Add table
Reference in a new issue