diff --git a/services/keymaster/server/src/keymaster-api.js b/services/keymaster/server/src/keymaster-api.js index 8536fcab..b813e9ad 100644 --- a/services/keymaster/server/src/keymaster-api.js +++ b/services/keymaster/server/src/keymaster-api.js @@ -694,6 +694,7 @@ app.listen(port, async () => { if (config.keymasterPassphrase) { wallet_enc.setPassphrase(config.keymasterPassphrase); + wallet_enc.setWallet(wallet); wallet = wallet_enc; } diff --git a/services/mediators/satoshi/src/satoshi-mediator.js b/services/mediators/satoshi/src/satoshi-mediator.js index 48e1a5e4..f2013092 100644 --- a/services/mediators/satoshi/src/satoshi-mediator.js +++ b/services/mediators/satoshi/src/satoshi-mediator.js @@ -506,6 +506,7 @@ async function main() { if (config.keymasterPassphrase) { wallet_enc.setPassphrase(config.keymasterPassphrase); + wallet_enc.setWallet(wallet); wallet = wallet_enc; }