Skip to content

Commit

Permalink
change instanceof check (#4585)
Browse files Browse the repository at this point in the history
(cherry picked from commit f7fa2f0)
  • Loading branch information
skylarbarrera authored and BrodyHughes committed Jan 30, 2023
1 parent 386e0e8 commit 3820a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ export const signTypedDataMessage = async (
}

// Hardware wallets
if (wallet instanceof LedgerSigner) {
if (!(wallet instanceof Wallet)) {
const result = await (wallet as LedgerSigner).signTypedDataMessage(
parsedData,
version === 'v1'
Expand Down

0 comments on commit 3820a58

Please sign in to comment.