diff --git a/packages/core/src/api/benfen/BenfenSignTransaction.ts b/packages/core/src/api/benfen/BenfenSignTransaction.ts index 1e752958..d2c18e20 100644 --- a/packages/core/src/api/benfen/BenfenSignTransaction.ts +++ b/packages/core/src/api/benfen/BenfenSignTransaction.ts @@ -4,15 +4,12 @@ import { BenfenSignedTx, MessageType, } from '@onekeyfe/hd-transport'; -import semver from 'semver'; import { bytesToHex } from '@noble/hashes/utils'; import { UI_REQUEST } from '../../constants/ui-request'; import { validatePath } from '../helpers/pathUtils'; import { BaseMethod } from '../BaseMethod'; import { validateParams } from '../helpers/paramsValidator'; import { formatAnyHex } from '../helpers/hexUtils'; -import { getDeviceFirmwareVersion, getDeviceType } from '../../utils'; -import { DeviceModelToTypes } from '../../types'; import type { TypedResponseMessage } from '../../device/DeviceCommands'; type BenfenSignTx = Omit &