HomePhabricator

Fix unlocked_until in getwalletinfo rpc

Description

Fix unlocked_until in getwalletinfo rpc

Summary: Getwalletinfo returned an uninitialized value for unlocked_until before the first walletpassphrase call, even though the wallet was locked and it should return 0.

Test Plan:
make check
./wallet_encryption.py

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix, Fabien

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2633

Details

Provenance
florianAuthored on Mar 1 2019, 00:38
florianPushed on Mar 28 2019, 00:18
Reviewer
Restricted Owners Package
Differential Revision
D2633: Fix unlocked_until in getwalletinfo rpc
Parents
rABC816dbd9150e9: Update seeds
Branches
Unknown
Tags
Unknown