Skip to content

Commit

Permalink
fix: update api and mediator to set wallet when using encryption (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar authored Dec 13, 2024
1 parent e52447d commit 9c5a684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/keymaster/server/src/keymaster-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ app.listen(port, async () => {

if (config.keymasterPassphrase) {
wallet_enc.setPassphrase(config.keymasterPassphrase);
wallet_enc.setWallet(wallet);
wallet = wallet_enc;
}

Expand Down
1 change: 1 addition & 0 deletions services/mediators/satoshi/src/satoshi-mediator.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ async function main() {

if (config.keymasterPassphrase) {
wallet_enc.setPassphrase(config.keymasterPassphrase);
wallet_enc.setWallet(wallet);
wallet = wallet_enc;
}

Expand Down

0 comments on commit 9c5a684

Please sign in to comment.