rpc: Fail to return undocumented or misdocumented JSON

This commit is contained in:
MarcoFalke
2021-08-25 20:45:56 +02:00
parent f4bc4a705a
commit fc892c3a80
2 changed files with 49 additions and 7 deletions

View File

@@ -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"},
}},