From ba8fc7d788932b25864fb260ca14983aa2398c23 Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Mon, 17 Apr 2023 22:20:59 +0200 Subject: refactor: Replace string chain name constants with ChainTypes This commit effectively moves the definition of these constants out of the chainparamsbase to their own file. Using the ChainType enums provides better type safety compared to passing around strings. The commit is part of an ongoing effort to decouple the libbitcoinkernel library from the ArgsManager and other functionality that should not be part of the kernel library. --- src/test/fuzz/key.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/fuzz/key.cpp') diff --git a/src/test/fuzz/key.cpp b/src/test/fuzz/key.cpp index ea6883c08d..e22321c71e 100644 --- a/src/test/fuzz/key.cpp +++ b/src/test/fuzz/key.cpp @@ -17,6 +17,7 @@ #include