diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2021-05-13 15:23:19 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-06-16 10:48:58 +0200 |
commit | 4455145e266450397b45acd7286686966edd072b (patch) | |
tree | 4829ded062fa7b872330d876cd981dddfda30a6a /src/external_signer.cpp | |
parent | 5be90c907eba0a38019c7d9826623d5d5f567c66 (diff) |
refactor: reduce #ifdef ENABLE_EXTERNAL_SIGNER usage
In particular this make the node interface independent on whether external signer support is compiled.
Diffstat (limited to 'src/external_signer.cpp')
-rw-r--r-- | src/external_signer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/external_signer.cpp b/src/external_signer.cpp index f16d21fa60..b2bd7cb261 100644 --- a/src/external_signer.cpp +++ b/src/external_signer.cpp @@ -13,8 +13,6 @@ #include <string> #include <vector> -#ifdef ENABLE_EXTERNAL_SIGNER - 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) {} const std::string ExternalSigner::NetworkArg() const @@ -116,5 +114,3 @@ bool ExternalSigner::SignTransaction(PartiallySignedTransaction& psbtx, std::str return true; } - -#endif // ENABLE_EXTERNAL_SIGNER |