Skip to content

Commit

Permalink
feat: update signature recoveryParam (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon-sde-coder authored Jan 6, 2025
1 parent ad80133 commit c429d3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useDiscoverProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default function useDiscoverProvider() {
signature.s.toString(16, 64),
`0${signature.recoveryParam.toString()}`,
].join('');
signature.recoveryParam = Number(signature.recoveryParam);

// recover pubkey by signature
let publicKey;
Expand Down

0 comments on commit c429d3e

Please sign in to comment.