diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2018-07-10 15:48:03 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-02-22 15:43:02 -0400 |
commit | a1df1b48a80bf122efa73677ff72577ec0103a3b (patch) | |
tree | 5e086560149e2d871a38d882dcc784f264b103fe /src/wallet/rpcwallet.cpp | |
parent | 1106a6fde4bfde31a16de45e4cc84ed5da05c5a4 (diff) |
Remove use of IsInitialBlockDownload in wallet code
This commit does not change behavior.
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 8d1bd3a169..a30df9f037 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3889,7 +3889,7 @@ UniValue sethdseed(const JSONRPCRequest& request) }.ToString()); } - if (IsInitialBlockDownload()) { + if (pwallet->chain().isInitialBlockDownload()) { throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Cannot set a new HD seed while still in Initial Block Download"); } |