diff options
author | = <=> | 2017-01-22 23:02:01 +0100 |
---|---|---|
committer | = <=> | 2017-01-22 23:02:01 +0100 |
commit | e92c4fff1a1f3e286eec08f714a3b2116bb7b829 (patch) | |
tree | 2ce93688168df0431a0e01583b69db8f5307220a /src/wallet/api/wallet.h | |
parent | Merge pull request #1608 (diff) | |
download | monero-e92c4fff1a1f3e286eec08f714a3b2116bb7b829.tar.xz |
Wallet api: testnet getter
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r-- | src/wallet/api/wallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index e3df7fd01..bee2342a2 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -94,6 +94,7 @@ public: void setRecoveringFromSeed(bool recoveringFromSeed); bool watchOnly() const; bool rescanSpent(); + bool testnet() const {return m_wallet->testnet();} PendingTransaction * createTransaction(const std::string &dst_addr, const std::string &payment_id, |