Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
allow user override signTypedMessage version param
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Oct 13, 2023
1 parent dfdddf1 commit 32c84c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subproviders/hooked-wallet-ethtx.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function HookedWalletEthTxSubprovider(opts) {
if (err) return cb(err)
const serialized = sigUtil.signTypedData({
privateKey,
version: 'V1',
version: msgParams.version || 'V1',
data: msgParams.data,
})
cb(null, serialized)
Expand Down

0 comments on commit 32c84c7

Please sign in to comment.