aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-09-24 15:11:27 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-09-29 10:20:05 +0200
commitfa23308e9aad70c99a31f91d8556f1876ea02c04 (patch)
treeb506f748bfb0d71bde4c34500abf0bc0455040b6 /src/chainparams.h
parente36aa351a31cde0f95ce957b2ff593a97f91eb6d (diff)
Remove gArgs global from CreateChainParams to aid testing
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index 7aa999fb75..d8b25c7220 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -119,7 +119,7 @@ protected:
* @returns a CChainParams* of the chosen chain.
* @throws a std::runtime_error if the chain is not supported.
*/
-std::unique_ptr<const CChainParams> CreateChainParams(const std::string& chain);
+std::unique_ptr<const CChainParams> CreateChainParams(const ArgsManager& args, const std::string& chain);
/**
* Return the currently selected parameters. This won't change after app