aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-02-20 17:29:58 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-02-20 17:30:07 +0100
commit2dad02232af1456fb298f17cdbc3f8eea96f1a7c (patch)
tree271fd58a4ee8d82ccf8b21e8e6d7f677891cc37d /src
parent7ca2f542708b664b5add8aec5b5118d324268f0f (diff)
parentec1267f13b7d0b9b5058c6821cf8dbf74e02d17c (diff)
Merge #9760: [wallet] Remove importmulti always-true check
ec1267f [wallet] Remove importmulti always-true check (Russell Yanofsky)
Diffstat (limited to 'src')
-rw-r--r--src/wallet/rpcdump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp
index 30f2414675..e95c71ac8a 100644
--- a/src/wallet/rpcdump.cpp
+++ b/src/wallet/rpcdump.cpp
@@ -1072,7 +1072,7 @@ UniValue importmulti(const JSONRPCRequest& mainRequest)
}
}
- if (fRescan && fRunScan && requests.size() && nLowestTimestamp <= chainActive.Tip()->GetBlockTimeMax()) {
+ if (fRescan && fRunScan && requests.size()) {
CBlockIndex* pindex = nLowestTimestamp > minimumTimestamp ? chainActive.FindEarliestAtLeast(std::max<int64_t>(nLowestTimestamp - 7200, 0)) : chainActive.Genesis();
if (pindex) {