X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Frpcblockchain.cpp;h=d8860d5ace0e0e7e1466371874be71e7fab1e4e9;hb=4627e6bee2aa0a72b0aa7dc8f456242df56320dc;hp=3d2aacd540fe7c3e9278583f4c5db70575e7e2dc;hpb=a2d67b52d688d3044927a3b534d0450b6559f5cd;p=novacoin.git diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 3d2aacd..d8860d5 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -185,10 +185,10 @@ Value settxfee(const Array& params, bool fHelp) if (fHelp || params.size() < 1 || params.size() > 1 || AmountFromValue(params[0]) < MIN_TX_FEE) throw runtime_error( "settxfee \n" - " is a real and is rounded to the nearest 0.01"); + " is a real and is rounded to the nearest " + FormatMoney(MIN_TX_FEE)); nTransactionFee = AmountFromValue(params[0]); - nTransactionFee = (nTransactionFee / CENT) * CENT; // round to cent + nTransactionFee = (nTransactionFee / MIN_TX_FEE) * MIN_TX_FEE; // round to minimum fee return true; }