diff options
| author | Luke Dashjr <[email protected]> | 2017-08-10 20:43:57 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2017-08-10 21:35:43 +0000 |
| commit | 4aa25089b4392a9a17ba5b3a8ea22e893d11d876 (patch) | |
| tree | e640abcbc1715b84c03973817090d14a5b2e7053 /src/init.cpp | |
| parent | Merge #11001: [tests] Test disconnecting unsupported service bits logic. (diff) | |
| download | discoin-4aa25089b4392a9a17ba5b3a8ea22e893d11d876.tar.xz discoin-4aa25089b4392a9a17ba5b3a8ea22e893d11d876.zip | |
Bugfix: Use testnet RequireStandard for -acceptnonstdtxn default
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index ca62d3e7c..e3fc3fc92 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -479,7 +479,7 @@ std::string HelpMessage(HelpMessageMode mode) strUsage += HelpMessageGroup(_("Node relay options:")); if (showDebug) { - strUsage += HelpMessageOpt("-acceptnonstdtxn", strprintf("Relay and mine \"non-standard\" transactions (%sdefault: %u)", "testnet/regtest only; ", defaultChainParams->RequireStandard())); + strUsage += HelpMessageOpt("-acceptnonstdtxn", strprintf("Relay and mine \"non-standard\" transactions (%sdefault: %u)", "testnet/regtest only; ", !testnetChainParams->RequireStandard())); strUsage += HelpMessageOpt("-incrementalrelayfee=<amt>", strprintf("Fee rate (in %s/kB) used to define cost of relay, used for mempool limiting and BIP 125 replacement. (default: %s)", CURRENCY_UNIT, FormatMoney(DEFAULT_INCREMENTAL_RELAY_FEE))); strUsage += HelpMessageOpt("-dustrelayfee=<amt>", strprintf("Fee rate (in %s/kB) used to defined dust, the value of an output such that it will cost more than its value in fees at this fee rate to spend it. (default: %s)", CURRENCY_UNIT, FormatMoney(DUST_RELAY_TX_FEE))); } |