Skip to content

Commit 3fad64b

Browse files
committed
class Fee
remove SetOutputForFee()
1 parent 3831bab commit 3fad64b

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/main.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6578,8 +6578,3 @@ bool Fee::CheckFirstCoinBaseTransactions(const CBlock& block) const {
65786578
return false;
65796579
return tx.vout[1].mValue == totalfee;
65806580
}
6581-
6582-
void Fee::SetOutputForFee(CTxOut &txout, const CScript& scriptPubKeyIn, unsigned int cnt) {
6583-
txout.scriptPubKey = scriptPubKeyIn;
6584-
txout.mValue = mValue;
6585-
}

src/main.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,6 @@ class Fee
682682
inline Fee(const CColorAmount& _mValue) : mValue(_mValue) { }
683683
bool CheckFee(const CColorAmount& _mValue) const;
684684
bool CheckFirstCoinBaseTransactions(const CBlock& block) const;
685-
void SetOutputForFee(CTxOut &txout, const CScript& scriptPubKeyIn, unsigned int cnt);
686685
CColorAmount GetFee() const { return mValue; }
687686
};
688687

0 commit comments

Comments
 (0)