Skip to content

Commit

Permalink
refactor: sets checkSegwitAlways to true
Browse files Browse the repository at this point in the history
  • Loading branch information
ganchoradkov committed Nov 5, 2024
1 parent 869eb26 commit 7fff4c4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion advanced/dapps/react-dapp-v2/src/helpers/bip122.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ export async function isValidBip122Signature(
);
}

return BitcoinMessage.verify(message, address, convertHexToBase64(signature));
return BitcoinMessage.verify(
message,
address,
convertHexToBase64(signature),
undefined,
true
);
}

export function isOrdinalAddress(address: string) {
Expand Down

0 comments on commit 7fff4c4

Please sign in to comment.