aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2017-01-27 11:33:26 -0600
committerluigi1111 <luigi1111w@gmail.com>2017-01-27 11:33:26 -0600
commit4629ead8c52572e9a6b5e752c28040839ff5e244 (patch)
tree28ce345c6a6857e66245c455ebb28de5e7ad5b74 /src/wallet/api
parentMerge pull request #1622 (diff)
parentWallet api: testnet getter (diff)
downloadmonero-4629ead8c52572e9a6b5e752c28040839ff5e244.tar.xz
Merge pull request #1618
Diffstat (limited to 'src/wallet/api')
-rw-r--r--src/wallet/api/wallet.h1
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,