Fix formatting of an error message.

This commit is contained in:
John C. Vernaleo 2016-02-12 16:10:24 -05:00
parent 1954bf24bb
commit 62d487122f

View File

@ -1589,8 +1589,8 @@ func (mp *txMemPool) maybeAcceptTransaction(tx *dcrutil.Tx, isNew,
minFee := calcMinRequiredTxRelayFee(serializedSize, mp.server.chainParams)
if txType == stake.TxTypeRegular { // Non-stake only
if serializedSize >= (defaultBlockPrioritySize-1000) && txFee < minFee {
str := fmt.Sprintf("transaction %v has %d fees which is under "+
"the required amount of %d", txHash, txFee,
str := fmt.Sprintf("transaction %v has %v fees which is under "+
"the required amount of %v", txHash, txFee,
minFee)
return nil, txRuleError(wire.RejectInsufficientFee, str)
}