lutangar
commented at 4:09 PM on March 19, 2018:
contributor
These conditions on request.fHelp, which appears in the body of the following functions are never reached:
walletpassphrase
walletpassphrasechange
encryptwallet
...
if (request.fHelp || request.params.size() != 0) {
throw std::runtime_error("");
}
...
if (request.fHelp)
return true;
...
The first condition would throw if request.fHelp evaluates to true.
Remove unreachable help conditionse5468a19d1
fanquake added the label RPC/REST/ZMQ on Mar 19, 2018
MarcoFalke renamed this: [RPC][Trivial] Remove unreachable help conditions in `rpcwallet.cpp` [RPC] Remove unreachable help conditions in rpcwallet.cpp on Mar 19, 2018
MarcoFalke added the label Refactoring on Mar 19, 2018
MarcoFalke
commented at 4:19 PM on March 19, 2018:
member
utACKe5468a19d14a32715097435df778d43efcceaa11. The code as-is wouldn't make sense anyway
Empact
commented at 5:40 PM on March 19, 2018:
member
utACKe5468a1
ken2812221
commented at 6:20 PM on March 19, 2018:
contributor
utACKe5468a1
practicalswift
commented at 6:40 PM on March 19, 2018:
contributor
Nice first-time contribution! 👍
utACKe5468a1
donaloconnor
commented at 7:09 PM on March 19, 2018:
contributor
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me