Skip to content

Commit c45e110

Browse files
committed
feat(suite-native): enable eip1559
1 parent 60dc303 commit c45e110

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

suite-common/wallet-core/src/fees/feesUtils.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Network, NetworkSymbol, getNetwork } from '@suite-common/wallet-config'
33
import { isEip1559 } from '@suite-common/wallet-utils';
44
import TrezorConnect, { FeeLevel } from '@trezor/connect';
55
import { BlockchainEstimatedFeeLevel } from '@trezor/connect/src/types/api/blockchainEstimateFee';
6-
import { isNative } from '@trezor/env-utils';
76
import { BigNumber } from '@trezor/utils';
87

98
const NETWORK_FEE_OVERRIDES: Record<
@@ -35,9 +34,7 @@ type GetEip1559AvailabilityProps = {
3534
export const getEip1559Availability = ({ symbol, feeLevel, device }: GetEip1559AvailabilityProps) =>
3635
getNetwork(symbol).features.includes('eip1559') &&
3736
isEip1559(feeLevel) &&
38-
!device?.unavailableCapabilities?.['eip1559'] &&
39-
// suite-native does not have eip1559 implementation yet #16372
40-
!isNative();
37+
!device?.unavailableCapabilities?.['eip1559'];
4138

4239
type GetNewFeeInfoProps = { network: Network; device?: TrezorDevice };
4340
export const getNewFeeInfo = async ({

0 commit comments

Comments
 (0)