From da4b5fb16e45358675e9eb770c7376f70f627159 Mon Sep 17 00:00:00 2001 From: PastaPastaPasta Date: Fri, 23 Nov 2018 08:43:23 -0600 Subject: [PATCH] Remove an unused function from governance object collateral code (#2480) --- src/wallet/wallet.cpp | 10 ---------- src/wallet/wallet.h | 1 - 2 files changed, 11 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 3ac1434b6..c00f27e70 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3362,16 +3362,6 @@ bool CWallet::CreateCollateralTransaction(CMutableTransaction& txCollateral, std return true; } -bool CWallet::GetBudgetSystemCollateralTX(CTransactionRef& tx, uint256 hash, CAmount amount, bool fUseInstantSend) -{ - CWalletTx wtx; - if(GetBudgetSystemCollateralTX(wtx, hash, amount, fUseInstantSend)){ - tx = wtx.tx; - return true; - } - return false; -} - bool CWallet::GetBudgetSystemCollateralTX(CWalletTx& tx, uint256 hash, CAmount amount, bool fUseInstantSend) { // make our change address diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 963096ad0..1e55061a6 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -922,7 +922,6 @@ public: CAmount GetNeedsToBeAnonymizedBalance(CAmount nMinBalance = 0) const; CAmount GetDenominatedBalance(bool unconfirmed=false) const; - bool GetBudgetSystemCollateralTX(CTransactionRef& tx, uint256 hash, CAmount amount, bool fUseInstantSend); bool GetBudgetSystemCollateralTX(CWalletTx& tx, uint256 hash, CAmount amount, bool fUseInstantSend); /**