Skip to content

Commit

Permalink
sign: lock wallet after signing msg (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithvikvibhu committed Apr 20, 2022
1 parent a83dde5 commit be5fb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/background/wallet/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ class WalletService {
signMessageWithName = (name, message) => this._ledgerDisabled(
'method is not supported on ledger yet',
() => {
return this._executeRPC('signmessagewithname', [name, message]);
return this._executeRPC('signmessagewithname', [name, message], this.lock);
}
);

Expand Down

0 comments on commit be5fb10

Please sign in to comment.