Skip to content

Commit

Permalink
updte okx sort (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqiancaosissi authored Jun 26, 2024
1 parent 0bf8632 commit 095d9d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/context/WalletSelectorContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const WalletSelectorContextProvider: React.FC<any> = ({ children }) => {
network: getConfig().networkId as NetworkId,
debug: false,
modules: [
setupOKXWallet({}),
setupMyNearWallet({
// iconUrl: walletIcons['my-near-wallet'],
}),
Expand Down Expand Up @@ -193,7 +194,6 @@ export const WalletSelectorContextProvider: React.FC<any> = ({ children }) => {
contractId: CONTRACT_ID,
deprecated: false,
}),
setupOKXWallet({}),
],
});
const _modal = setupModal(_selector, {
Expand Down
2 changes: 1 addition & 1 deletion src/services/signature.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import crypto from 'crypto-browserify';

const key = process.env.REACT_APP_NEAR_ENV;
const key = process.env.REACT_APP_CRYPTO_KEY;

export const getSignature = (plaintext: string) => {
if (!key) return;
Expand Down

0 comments on commit 095d9d5

Please sign in to comment.