diff options
| author | Russell Yanofsky <[email protected]> | 2017-02-22 14:11:44 -0500 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-02-28 13:53:28 +0100 |
| commit | ad24256a65aa4281831e14097a29ac1efe8b5c02 (patch) | |
| tree | 7d3144673f3919e1a6fe8cb114991eb803c3b679 /src/wallet/rpcdump.cpp | |
| parent | doc: pre-rc3 changelog update (diff) | |
| download | discoin-ad24256a65aa4281831e14097a29ac1efe8b5c02.tar.xz discoin-ad24256a65aa4281831e14097a29ac1efe8b5c02.zip | |
Fix importmulti returning rescan errors for wrong keys
Bug was a missing ++i line in a new range for loop added in commit e2e2f4c
"Return errors from importmulti if complete rescans are not successful"
Github-Pull: #9829
Rebased-From: 306bd72157f089b962b9c537bbacf710a4158647
Diffstat (limited to 'src/wallet/rpcdump.cpp')
| -rw-r--r-- | src/wallet/rpcdump.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 8a9e7d144..20a3cbda1 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -1098,6 +1098,7 @@ UniValue importmulti(const JSONRPCRequest& mainRequest) result.pushKV("error", JSONRPCError(RPC_MISC_ERROR, strprintf("Failed to rescan before time %d, transactions may be missing.", scannedRange->GetBlockTimeMax()))); response.push_back(std::move(result)); } + ++i; } } } |