libwallet_api: do not use fast-refresh on recovery
This commit is contained in:
@@ -128,6 +128,10 @@ private:
|
||||
boost::mutex m_refreshMutex2;
|
||||
boost::condition_variable m_refreshCV;
|
||||
boost::thread m_refreshThread;
|
||||
// flag indicating wallet is recovering from seed
|
||||
// so it shouldn't be considered as new and pull blocks (slow-refresh)
|
||||
// instead of pulling hashes (fast-refresh)
|
||||
bool m_recoveringFromSeed;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user