aboutsummaryrefslogtreecommitdiff
path: root/src/external_signer.cpp
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2021-06-15 16:58:55 +0200
committerSjors Provoost <sjors@sprovoost.nl>2021-06-16 10:48:58 +0200
commitd672404466204444a1d9f2d3498de4448f53d2be (patch)
tree3e29dfb437f1463d83a3d9483b3855ebdce45574 /src/external_signer.cpp
parent4455145e266450397b45acd7286686966edd072b (diff)
downloadbitcoin-d672404466204444a1d9f2d3498de4448f53d2be.tar.xz
refactor: make ExternalSigner NetworkArg() and m_chain private
Diffstat (limited to 'src/external_signer.cpp')
-rw-r--r--src/external_signer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/external_signer.cpp b/src/external_signer.cpp
index b2bd7cb261..d6388b759a 100644
--- a/src/external_signer.cpp
+++ b/src/external_signer.cpp
@@ -13,7 +13,7 @@
#include <string>
#include <vector>
-ExternalSigner::ExternalSigner(const std::string& command, const std::string& fingerprint, const std::string chain, const std::string name): m_command(command), m_fingerprint(fingerprint), m_chain(chain), m_name(name) {}
+ExternalSigner::ExternalSigner(const std::string& command, const std::string chain, const std::string& fingerprint, const std::string name): m_command(command), m_chain(chain), m_fingerprint(fingerprint), m_name(name) {}
const std::string ExternalSigner::NetworkArg() const
{
@@ -53,7 +53,7 @@ bool ExternalSigner::Enumerate(const std::string& command, std::vector<ExternalS
if (model_field.isStr() && model_field.getValStr() != "") {
name += model_field.getValStr();
}
- signers.push_back(ExternalSigner(command, fingerprintStr, chain, name));
+ signers.push_back(ExternalSigner(command, chain, fingerprintStr, name));
}
return true;
}