diff options
| author | Jacob Brydolf <jacob@brydolf.net> | 2016-10-10 19:34:25 +0200 |
|---|---|---|
| committer | Jacob Brydolf <jacob@brydolf.net> | 2016-10-10 19:37:10 +0200 |
| commit | a8cd65646c078d66b57ed062b100f38813d4f7e7 (patch) | |
| tree | 52b06dfffd6727afa322afb2af458f52a235f693 /src/wallet/api | |
| parent | 0673db16ad7a8b91c0216d41a1363262f7000bb4 (diff) | |
| download | monzero-core-a8cd65646c078d66b57ed062b100f38813d4f7e7.tar.gz monzero-core-a8cd65646c078d66b57ed062b100f38813d4f7e7.tar.xz monzero-core-a8cd65646c078d66b57ed062b100f38813d4f7e7.zip | |
Wallet API: added setRecoveringFromSeed();
Diffstat (limited to 'src/wallet/api')
| -rw-r--r-- | src/wallet/api/wallet.cpp | 4 | ||||
| -rw-r--r-- | src/wallet/api/wallet.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 674670b16..d1c849537 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -416,6 +416,10 @@ void WalletImpl::setRefreshFromBlockHeight(uint64_t refresh_from_block_height) m_wallet->set_refresh_from_block_height(refresh_from_block_height); } +void WalletImpl::setRecoveringFromSeed(bool recoveringFromSeed) +{ + m_recoveringFromSeed = recoveringFromSeed; +} uint64_t WalletImpl::balance() const { diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 8ce475d1c..c8a59f7c3 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -84,6 +84,7 @@ public: void setAutoRefreshInterval(int millis); int autoRefreshInterval() const; void setRefreshFromBlockHeight(uint64_t refresh_from_block_height); + void setRecoveringFromSeed(bool recoveringFromSeed); |
