aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-11-20 12:52:47 -0500
committerRussell Yanofsky <russ@yanofsky.org>2020-05-01 05:59:09 -0500
commit28b112e9bd3fd1181c0720306051ba7efca8b436 (patch)
treef492ede76f4813985b7c219b74c73e6475895c50 /src/wallet/wallet.h
parentd002f9d15d938e78360ad906f2d74a249c7e923e (diff)
downloadbitcoin-28b112e9bd3fd1181c0720306051ba7efca8b436.tar.xz
Get rid of BindWallet
CWalletTx initialization has been fixed so it's no longer necessary to change which wallet a transaction is bound to.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 932e1a28b8..c681b84750 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -463,12 +463,6 @@ public:
m_is_cache_empty = true;
}
- void BindWallet(CWallet *pwalletIn)
- {
- pwallet = pwalletIn;
- MarkDirty();
- }
-
//! filter decides which addresses will count towards the debit
CAmount GetDebit(const isminefilter& filter) const;
CAmount GetCredit(const isminefilter& filter) const;