mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[qt] Remove excess logic
Replace …
```
if (foo) { return true; } else { return false; }
```
… with the equivalent …
```
return foo;
```
This commit is contained in:
parent
962cd3f058
commit
e49b868cfe
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);
|
||||
const CWalletTx *wtx = wallet->GetWalletTx(hash);
|
||||
if (wtx && SignalsOptInRBF(*wtx))
|
||||
return true;
|
||||
return false;
|
||||
return wtx && SignalsOptInRBF(*wtx);
|
||||
}
|
||||
|
||||
bool WalletModel::bumpFee(uint256 hash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue