|
1 |
| -// Copyright (c) 2011-2022 The Bitcoin Core developers |
| 1 | +// Copyright (c) 2011-present The Bitcoin Core developers |
2 | 2 | // Distributed under the MIT software license, see the accompanying
|
3 | 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
4 | 4 |
|
@@ -534,7 +534,7 @@ RPCHelpMan getaddressinfo()
|
534 | 534 | {RPCResult::Type::BOOL, "solvable", "If we know how to spend coins sent to this address, ignoring the possible lack of private keys."},
|
535 | 535 | {RPCResult::Type::STR, "desc", /*optional=*/true, "A descriptor for spending coins sent to this address (only when solvable)."},
|
536 | 536 | {RPCResult::Type::STR, "parent_desc", /*optional=*/true, "The descriptor used to derive this address if this is a descriptor wallet"},
|
537 |
| - {RPCResult::Type::BOOL, "isscript", "If the key is a script."}, |
| 537 | + {RPCResult::Type::BOOL, "isscript", /*optional=*/true, "If the key is a script."}, |
538 | 538 | {RPCResult::Type::BOOL, "ischange", "If the address was used for change output."},
|
539 | 539 | {RPCResult::Type::BOOL, "iswitness", "If the address is a witness address."},
|
540 | 540 | {RPCResult::Type::NUM, "witness_version", /*optional=*/true, "The version number of the witness program."},
|
|
0 commit comments