diff options
| author | Gavin Andresen <[email protected]> | 2013-04-25 20:11:27 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-05-03 10:54:31 -0400 |
| commit | 000dc55181f77cd96076c76b2cc13f8bcbe4146e (patch) | |
| tree | 374d5c65a265dbd59b1957ec9c128cd056be7ef6 /src/qt/bitcoin.cpp | |
| parent | CreateTransaction: return strFailReason on failure (diff) | |
| download | discoin-000dc55181f77cd96076c76b2cc13f8bcbe4146e.tar.xz discoin-000dc55181f77cd96076c76b2cc13f8bcbe4146e.zip | |
Un-hardcode TX_FEE constants
Allow setting of MIN_TX_FEE / MIN_RELAY_TX_FEE with
-mintxfee / -mintxrelayfee
Default values are the same (0.0001 BTC).
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 25448ea8c..5bd808a89 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -69,7 +69,7 @@ static bool ThreadSafeAskFee(int64 nFeeRequired) { if(!guiref) return false; - if(nFeeRequired < MIN_TX_FEE || nFeeRequired <= nTransactionFee || fDaemon) + if(nFeeRequired < CTransaction::nMinTxFee || nFeeRequired <= nTransactionFee || fDaemon) return true; bool payFee = false; |