From e92c4fff1a1f3e286eec08f714a3b2116bb7b829 Mon Sep 17 00:00:00 2001 From: = <=> Date: Sun, 22 Jan 2017 23:02:01 +0100 Subject: Wallet api: testnet getter --- src/wallet/api/wallet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/api/wallet.h') 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, -- cgit v1.2.3