aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-25 20:45:56 +0200
committerMarcoFalke <falke.marco@gmail.com>2022-03-24 14:30:13 +0100
commitfc892c3a80091fbeaa2b5a6ec5bdaa31359b42de (patch)
tree9210d073742de1abf2ccd91f411b12c120024a76 /src/wallet
parentf4bc4a705addea3e60c3b69437913e6571df275d (diff)
rpc: Fail to return undocumented or misdocumented JSON
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/rpc/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/wallet.cpp b/src/wallet/rpc/wallet.cpp
index 804331eb5d..f83e0c23da 100644
--- a/src/wallet/rpc/wallet.cpp
+++ b/src/wallet/rpc/wallet.cpp
@@ -56,7 +56,7 @@ static RPCHelpMan getwalletinfo()
{
{RPCResult::Type::NUM, "duration", "elapsed seconds since scan start"},
{RPCResult::Type::NUM, "progress", "scanning progress percentage [0.0, 1.0]"},
- }},
+ }, /*skip_type_check=*/true},
{RPCResult::Type::BOOL, "descriptors", "whether this wallet uses descriptors for scriptPubKey management"},
{RPCResult::Type::BOOL, "external_signer", "whether this wallet is configured to use an external signer such as a hardware wallet"},
}},