diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-02-16 10:49:03 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2017-02-17 14:12:31 -0500 |
commit | e2e2f4c856363bbb0e3b5ba4df225f3754c3db39 (patch) | |
tree | 9e695fd32f65b1596f3ff613b96ec756bb2f1d2b /src/wallet/wallet.h | |
parent | 9828f9a9962c1bee5c343847030b9cfd87a40a5e (diff) | |
download | bitcoin-e2e2f4c856363bbb0e3b5ba4df225f3754c3db39.tar.xz |
Return errors from importmulti if complete rescans are not successful
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index a7b15a8441..98e4fb87b9 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -788,7 +788,7 @@ public: bool LoadToWallet(const CWalletTx& wtxIn); void SyncTransaction(const CTransaction& tx, const CBlockIndex *pindex, int posInBlock) override; bool AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlockIndex* pIndex, int posInBlock, bool fUpdate); - int ScanForWalletTransactions(CBlockIndex* pindexStart, bool fUpdate = false); + CBlockIndex* ScanForWalletTransactions(CBlockIndex* pindexStart, bool fUpdate = false); void ReacceptWalletTransactions(); void ResendWalletTransactions(int64_t nBestBlockTime, CConnman* connman) override; std::vector<uint256> ResendWalletTransactionsBefore(int64_t nTime, CConnman* connman); |