@@ -39,7 +39,6 @@ WalletModel::WalletModel(CWallet* wallet, OptionsModel* optionsModel, QObject* p
3939 cachedNumBlocks(0 )
4040{
4141 fHaveWatchOnly = wallet->HaveWatchOnly ();
42- fHaveMultiSig = wallet->HaveMultiSig ();
4342 fForceCheckBalanceChanged = false ;
4443
4544 addressTableModel = new AddressTableModel (wallet, this );
@@ -367,12 +366,6 @@ void WalletModel::updateWatchOnlyFlag(bool fHaveWatchonly)
367366 Q_EMIT notifyWatchonlyChanged (fHaveWatchonly );
368367}
369368
370- void WalletModel::updateMultiSigFlag (bool fHaveMultiSig )
371- {
372- this ->fHaveMultiSig = fHaveMultiSig ;
373- Q_EMIT notifyMultiSigChanged (fHaveMultiSig );
374- }
375-
376369bool WalletModel::getMint (const uint256& hashSerial, CZerocoinMint& mint)
377370{
378371 return wallet->GetMint (hashSerial, mint);
@@ -845,12 +838,6 @@ static void NotifyWatchonlyChanged(WalletModel* walletmodel, bool fHaveWatchonly
845838 Q_ARG (bool , fHaveWatchonly ));
846839}
847840
848- static void NotifyMultiSigChanged (WalletModel* walletmodel, bool fHaveMultiSig )
849- {
850- QMetaObject::invokeMethod (walletmodel, " updateMultiSigFlag" , Qt::QueuedConnection,
851- Q_ARG (bool , fHaveMultiSig ));
852- }
853-
854841static void NotifyZerocoinChanged (WalletModel* walletmodel, CWallet* wallet, const std::string& hexString,
855842 const std::string& isUsed, ChangeType status)
856843{
@@ -901,7 +888,6 @@ void WalletModel::subscribeToCoreSignals()
901888 wallet->NotifyTransactionChanged .connect (boost::bind (NotifyTransactionChanged, this , _1, _2, _3));
902889 wallet->ShowProgress .connect (boost::bind (ShowProgress, this , _1, _2));
903890 wallet->NotifyWatchonlyChanged .connect (boost::bind (NotifyWatchonlyChanged, this , _1));
904- wallet->NotifyMultiSigChanged .connect (boost::bind (NotifyMultiSigChanged, this , _1));
905891 wallet->NotifyZerocoinChanged .connect (boost::bind (NotifyZerocoinChanged, this , _1, _2, _3, _4));
906892 wallet->NotifyzPIVReset .connect (boost::bind (NotifyzPIVReset, this ));
907893 wallet->NotifyWalletBacked .connect (boost::bind (NotifyWalletBacked, this , _1, _2));
@@ -915,7 +901,6 @@ void WalletModel::unsubscribeFromCoreSignals()
915901 wallet->NotifyTransactionChanged .disconnect (boost::bind (NotifyTransactionChanged, this , _1, _2, _3));
916902 wallet->ShowProgress .disconnect (boost::bind (ShowProgress, this , _1, _2));
917903 wallet->NotifyWatchonlyChanged .disconnect (boost::bind (NotifyWatchonlyChanged, this , _1));
918- wallet->NotifyMultiSigChanged .disconnect (boost::bind (NotifyMultiSigChanged, this , _1));
919904 wallet->NotifyZerocoinChanged .disconnect (boost::bind (NotifyZerocoinChanged, this , _1, _2, _3, _4));
920905 wallet->NotifyzPIVReset .disconnect (boost::bind (NotifyzPIVReset, this ));
921906 wallet->NotifyWalletBacked .disconnect (boost::bind (NotifyWalletBacked, this , _1, _2));
0 commit comments