getwalletinfo
RPC command’s unlocked_until
field is optional in the code, but wasn’t marked as optional in the docs.
getwalletinfo
RPC command’s unlocked_until
field is optional in the code, but wasn’t marked as optional in the docs.
ACK https://github.com/bitcoin/bitcoin/pull/19634/commits/f916847d2b56f2935c169e1b95b350a477c804cc
Affected help line on master branch ($ src/bitcoin-cli -testnet help getwalletinfo | grep unlocked_until
):
"unlocked_until" : xxx, (numeric) the UNIX epoch time until which the wallet is unlocked for transfers, or 0 if the wallet is locked
Affected help line on PR branch:
"unlocked_until" : xxx, (numeric, optional) the UNIX epoch time until which the wallet is unlocked for transfers, or 0 if the wallet is locked (only present for passphrase-encrypted wallets)