aboutsummaryrefslogtreecommitdiff
path: root/src/qt/forms/createwalletdialog.ui
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-04-16 10:45:01 +0100
committerfanquake <fanquake@gmail.com>2022-04-16 10:45:15 +0100
commitd1b3dfb275fd98e37cfe8a0f7cea7d03595af2e8 (patch)
treefd62069731344c70402799e280dcccf81afc762d /src/qt/forms/createwalletdialog.ui
parent6be319beb8d6281cd82be8132dc4b765978122ba (diff)
parent88376c623cff3602d04ec6c94a89552aefa20fa7 (diff)
Merge bitcoin/bitcoin#24855: rpc: Fix `setwalletflag` disabling of flags
88376c623cff3602d04ec6c94a89552aefa20fa7 test: Test for disabling wallet flags (Andrew Chow) 17ab31aa46f7b5c265d07091fe45671ef2af6a9a rpc, wallet: setwalletflags warnings are optional (Andrew Chow) Pull request description: Trying to disable a wallet flag with `setwalletflag` results in `Internal bug detected: 'std::any_of(m_results.m_results.begin(), m_results.m_results.end(), [ret](const RPCResult& res) { return res.MatchesType(ret); })'`. This occurs because the `warnings` field was not marked as optional. This PR makes `warnings` optional to avoid this error. Also added a test case because apparently we didn't already have one. ACKs for top commit: w0xlt: ACK 88376c6 Tree-SHA512: 4f5d3bebf0d022a5ad0f75d70c6562a43c7da6e39e9c3118733327d015c435e2c8d5004fdb039d42407dde5b21231a0f8827623d718abf611a1f06c15af5c806
Diffstat (limited to 'src/qt/forms/createwalletdialog.ui')
0 files changed, 0 insertions, 0 deletions