aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorchromatic <[email protected]>2021-08-22 12:33:50 -0700
committerchromatic <[email protected]>2021-08-22 12:36:23 -0700
commit622d1cc126f0ea8554de9d1421782cc7447b927c (patch)
treeee5b14c159ec5edd3e99f37ea14b5010c86d93af /src
parentFix variable name; otherwise interpreted as label (diff)
downloaddiscoin-622d1cc126f0ea8554de9d1421782cc7447b927c.tar.xz
discoin-622d1cc126f0ea8554de9d1421782cc7447b927c.zip
Clean up whitespace in modified code
Diffstat (limited to 'src')
-rw-r--r--src/rpc/mining.cpp4
-rw-r--r--src/wallet/wallet.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 0e5376990..35320ecdf 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -155,8 +155,8 @@ UniValue generateBlocks(boost::shared_ptr<CReserveScript> coinbaseScript, int nG
if (nMineAuxPow) {
continue;
}
- else {
- throw JSONRPCError(RPC_INTERNAL_ERROR, "ProcessNewBlock, block not accepted");
+ else {
+ throw JSONRPCError(RPC_INTERNAL_ERROR, "ProcessNewBlock, block not accepted");
}
}
++nHeight;
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index c60b2a3f2..d0fcdfdef 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -3900,10 +3900,10 @@ bool CWallet::ParameterInteraction()
GetArg("-paytxfee", ""), ::minRelayTxFeeRate.ToString()));
}
- // if -mintxfee is not set, then a lower payTxFee overrides minTxFee
- if (!IsArgSet("-mintxfee") && payTxFee < CWallet::minTxFee)
+ // if -mintxfee is not set, then a lower payTxFee overrides minTxFee
+ if (!IsArgSet("-mintxfee") && payTxFee < CWallet::minTxFee)
{
- LogPrintf("%s: parameter interaction: -paytxfee=%s -> setting -mintxfee=%s\n", __func__, GetArg("-paytxfee",""), GetArg("-paytxfee",""));
+ LogPrintf("%s: parameter interaction: -paytxfee=%s -> setting -mintxfee=%s\n", __func__, GetArg("-paytxfee",""), GetArg("-paytxfee",""));
CWallet::minTxFee = CFeeRate(nFeePerK,1000);
}
}