diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2019-01-31 17:42:56 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-02-01 13:05:30 -0500 |
commit | 95a812b5993afe69bfe0fd796428b98ab6282e66 (patch) | |
tree | 4ca5e35ee4db9e94b14745e86fc08efe20aa9897 /src/wallet/rpcwallet.cpp | |
parent | 2c0867a1811bd7120aa66d98723ae96b065a3c1b (diff) |
Rename ScanResult stop_block field
Avoid confusion with stop_block argument as suggested
https://github.com/bitcoin/bitcoin/pull/14711#discussion_r252038449
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 c96a9b0aff..f2898250ca 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3478,7 +3478,7 @@ UniValue rescanblockchain(const JSONRPCRequest& request) } UniValue response(UniValue::VOBJ); response.pushKV("start_height", start_height); - response.pushKV("stop_height", result.stop_height ? *result.stop_height : UniValue()); + response.pushKV("stop_height", result.last_scanned_height ? *result.last_scanned_height : UniValue()); return response; } |