Skip to content

Commit

Permalink
chore: disable tweak signer for okx connector
Browse files Browse the repository at this point in the history
  • Loading branch information
slavastartsev committed Nov 7, 2024
1 parent 05bba7e commit 6c17b1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sats-wagmi/src/connectors/okx.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Network } from 'bitcoin-address-validation';
import { AddressType, Network } from 'bitcoin-address-validation';

import { okxLogo } from '../assets/okx';

Expand Down Expand Up @@ -157,7 +157,7 @@ class OKXConnector extends SatsConnector {
return {
index,
publicKey,
disableTweakSigner: true
disableTweakSigner: this.getAddressType(this.paymentAddress!) !== AddressType.p2tr
};
});

Expand Down

0 comments on commit 6c17b1e

Please sign in to comment.