Skip to content

Commit e5d9e95

Browse files
committed
Update files
1 parent 2f9dea4 commit e5d9e95

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/external_signer.cpp

+4-5
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,14 @@ bool ExternalSigner::Enumerate(const std::string& command, std::vector<ExternalS
6060
return true;
6161
}
6262

63-
6463
UniValue ExternalSigner::DisplayAddress(const std::string& descriptor) const
6564
{
66-
return RunCommandParseJSON(m_command + " --fingerprint \"" + m_fingerprint + "\"" + NetworkArg() + " displayaddress --desc \"" + descriptor + "\"");
65+
return RunCommandParseJSON(m_command + " --fingerprint " + m_fingerprint + NetworkArg() + " displayaddress --desc " + descriptor);
6766
}
6867

6968
UniValue ExternalSigner::GetDescriptors(const int account)
7069
{
71-
return RunCommandParseJSON(m_command + " --fingerprint \"" + m_fingerprint + "\"" + NetworkArg() + " getdescriptors --account " + strprintf("%d", account));
70+
return RunCommandParseJSON(m_command + " --fingerprint " + m_fingerprint + NetworkArg() + " getdescriptors --account " + strprintf("%d", account));
7271
}
7372

7473
bool ExternalSigner::SignTransaction(PartiallySignedTransaction& psbtx, std::string& error)
@@ -94,8 +93,8 @@ bool ExternalSigner::SignTransaction(PartiallySignedTransaction& psbtx, std::str
9493
return false;
9594
}
9695

97-
const std::string command = m_command + " --stdin --fingerprint \"" + m_fingerprint + "\"" + NetworkArg();
98-
const std::string stdinStr = "signtx \"" + EncodeBase64(ssTx.str()) + "\"";
96+
const std::string command = m_command + " --stdin --fingerprint " + m_fingerprint + NetworkArg();
97+
const std::string stdinStr = "signtx " + EncodeBase64(ssTx.str());
9998

10099
const UniValue signer_result = RunCommandParseJSON(command, stdinStr);
101100

src/external_signer.h

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class ExternalSigner
3535

3636
//! Master key fingerprint of the signer
3737
std::string m_fingerprint;
38+
3839
//! Name of signer
3940
std::string m_name;
4041

src/qt/locale/BGL_ar.qm

0 Bytes
Binary file not shown.

src/qt/locale/BGL_hi.qm

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)