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); /**