Skip to content

Commit

Permalink
Merge pull request #1307 from chainapsis/delivan/keplr-739
Browse files Browse the repository at this point in the history
Fix a mistake on signature v
  • Loading branch information
Thunnini authored Feb 4, 2025
2 parents 8f13344 + 906726e commit 72cd719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/background/src/keyring-ethereum/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class KeyRingEthereumService {
signature.s,
// The metamask doesn't seem to consider the chain id in this case... (maybe bug on metamask?)
signature.v
? Buffer.from(signature.v.toString(16), "hex")
? Buffer.from("1c", "hex")
: Buffer.from("1b", "hex"),
]),
};
Expand Down

0 comments on commit 72cd719

Please sign in to comment.