Skip to content

Commit

Permalink
Merge pull request #383 from lidofinance/develop
Browse files Browse the repository at this point in the history
Develop to Main
  • Loading branch information
itaven authored Jul 2, 2024
2 parents f1c378d + df92ee1 commit 1ecf741
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 1ecf741

Please sign in to comment.