diff options
| author | tobtoht <thotbot@protonmail.com> | 2021-03-12 23:43:58 +0100 |
|---|---|---|
| committer | tobtoht <thotbot@protonmail.com> | 2021-03-12 23:43:58 +0100 |
| commit | 7c4e4c7603d78439649d2095edc544bee4a7567b (patch) | |
| tree | 7613fd625b8e3b862b9065681264b73c76ef4932 /src/wallet/api/wallet.cpp | |
| parent | b8f3e44a3f7af299c3d6fbf2d21b78d8c99d6d7d (diff) | |
| download | monzero-core-7c4e4c7603d78439649d2095edc544bee4a7567b.tar.gz monzero-core-7c4e4c7603d78439649d2095edc544bee4a7567b.tar.xz monzero-core-7c4e4c7603d78439649d2095edc544bee4a7567b.zip | |
wallet_api: add isDeterministic()
Diffstat (limited to 'src/wallet/api/wallet.cpp')
| -rw-r--r-- | src/wallet/api/wallet.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 4f923ce54..d06a11a64 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -2104,6 +2104,11 @@ bool WalletImpl::watchOnly() const return m_wallet->watch_only(); } +bool WalletImpl::isDeterministic() const +{ + return m_wallet->is_deterministic(); +} + void WalletImpl::clearStatus() const { boost::lock_guard<boost::mutex> l(m_statusMutex); |
