Skip to content

Commit

Permalink
Merge pull request #382 from lidofinance/feature/si-1471-disable-marker
Browse files Browse the repository at this point in the history
hot fix: disable marker
  • Loading branch information
itaven authored Jul 2, 2024
2 parents e5ef8ed + 6c8f0ca commit df92ee1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions features/stake/stake-form/use-stake.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { BigNumber } from 'ethers';
import { useCallback } from 'react';
import { useConnectorInfo } from 'reef-knot/core-react';
import { useWeb3 } from 'reef-knot/web3-react';
import invariant from 'tiny-invariant';

Expand Down Expand Up @@ -37,8 +36,8 @@ export const useStake = ({ onConfirm, onRetry }: StakeOptions) => {
const { providerWeb3, providerRpc } = useSDK();
const { txModalStages } = useTxModalStagesStake();

// modifying calldata brakes clear sign for LedgerLive
const shouldApplyCalldataSuffix = !useConnectorInfo().isLedgerLive;
// temporary disable until Ledger is fixed
const shouldApplyCalldataSuffix = false;

return useCallback(
async ({ amount, referral }: StakeArguments): Promise<boolean> => {
Expand Down

0 comments on commit df92ee1

Please sign in to comment.