mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
multiprocess: add interfaces::ExternalSigner class
Add interfaces::ExternalSigner to let signer objects be passed between processes and signer code to run in the original process, without multiple processes linking and running signer code.
This commit is contained in:
parent
113b863f07
commit
a032fa30d2
5 changed files with 41 additions and 12 deletions
|
|
@ -274,9 +274,9 @@ void CreateWalletActivity::create()
|
|||
{
|
||||
m_create_wallet_dialog = new CreateWalletDialog(m_parent_widget);
|
||||
|
||||
std::vector<ExternalSigner> signers;
|
||||
std::vector<std::unique_ptr<interfaces::ExternalSigner>> signers;
|
||||
try {
|
||||
signers = node().externalSigners();
|
||||
signers = node().listExternalSigners();
|
||||
} catch (const std::runtime_error& e) {
|
||||
QMessageBox::critical(nullptr, tr("Can't list signers"), e.what());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue