diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-07-31 15:30:21 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2018-11-06 11:44:40 -0400 |
commit | 081accb875412f38718f2e40ed7bbdf15e6f4ef8 (patch) | |
tree | 3984957eb798aa5ea1c07af07d54ed9f8c8723b3 /src/wallet/rpcdump.cpp | |
parent | 79d579f4e11b57f90fed314bccd25230f918729f (diff) | |
download | bitcoin-081accb875412f38718f2e40ed7bbdf15e6f4ef8.tar.xz |
Pass chain locked variables where needed
This commit does not change behavior. All it does is pass new function
parameters.
It is easiest to review this change with:
git log -p -n1 -U0 --word-diff-regex=.
Diffstat (limited to 'src/wallet/rpcdump.cpp')
-rw-r--r-- | src/wallet/rpcdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 05e14fd64a..e1e4fc51fe 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -732,7 +732,7 @@ UniValue dumpwallet(const JSONRPCRequest& request) std::map<CTxDestination, int64_t> mapKeyBirth; const std::map<CKeyID, int64_t>& mapKeyPool = pwallet->GetAllReserveKeys(); - pwallet->GetKeyBirthTimes(mapKeyBirth); + pwallet->GetKeyBirthTimes(*locked_chain, mapKeyBirth); std::set<CScriptID> scripts = pwallet->GetCScripts(); // TODO: include scripts in GetKeyBirthTimes() output instead of separate |