From d672404466204444a1d9f2d3498de4448f53d2be Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Tue, 15 Jun 2021 16:58:55 +0200 Subject: [PATCH] refactor: make ExternalSigner NetworkArg() and m_chain private --- src/external_signer.cpp | 4 ++-- src/external_signer.h | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/external_signer.cpp b/src/external_signer.cpp index b2bd7cb261a..d6388b759ad 100644 --- a/src/external_signer.cpp +++ b/src/external_signer.cpp @@ -13,7 +13,7 @@ #include #include -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 enumerate`. //! @param[in] command the command which handles interaction with the external signer //! @param[in,out] signers vector to which new signers (with a unique master key fingerprint) are added