Skip to content

Commit f7e8e1e

Browse files
committed
walletdb: remove unneeded WriteMultiSig & EraseMultiSig.
1 parent 583be69 commit f7e8e1e

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/wallet/walletdb.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -224,18 +224,6 @@ bool CWalletDB::EraseWatchOnly(const CScript& dest)
224224
return batch.Erase(std::make_pair(std::string(DBKeys::WATCHS), dest));
225225
}
226226

227-
bool CWalletDB::WriteMultiSig(const CScript& dest)
228-
{
229-
nWalletDBUpdateCounter++;
230-
return batch.Write(std::make_pair(std::string("multisig"), dest), '1');
231-
}
232-
233-
bool CWalletDB::EraseMultiSig(const CScript& dest)
234-
{
235-
nWalletDBUpdateCounter++;
236-
return batch.Erase(std::make_pair(std::string("multisig"), dest));
237-
}
238-
239227
bool CWalletDB::WriteBestBlock(const CBlockLocator& locator)
240228
{
241229
nWalletDBUpdateCounter++;

src/wallet/walletdb.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ class CWalletDB
138138
bool WriteWatchOnly(const CScript& script);
139139
bool EraseWatchOnly(const CScript& script);
140140

141-
bool WriteMultiSig(const CScript& script);
142-
bool EraseMultiSig(const CScript& script);
143-
144141
bool WriteBestBlock(const CBlockLocator& locator);
145142
bool ReadBestBlock(CBlockLocator& locator);
146143

0 commit comments

Comments
 (0)