Browse Source

Merge #9760: [wallet] Remove importmulti always-true check

ec1267f [wallet] Remove importmulti always-true check (Russell Yanofsky)
0.15
Wladimir J. van der Laan 8 years ago
parent
commit
2dad02232a
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/wallet/rpcdump.cpp

2
src/wallet/rpcdump.cpp

@ -1072,7 +1072,7 @@ UniValue importmulti(const JSONRPCRequest& mainRequest) @@ -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) {

Loading…
Cancel
Save