UNPKG

@ledgerhq/live-common

Version:
10 lines 398 B
import perFamily from "../generated/deviceTransactionConfig"; import { getMainAccount } from "../account"; export async function getDeviceTransactionConfig(arg) { const mainAccount = getMainAccount(arg.account, arg.parentAccount); const f = perFamily[mainAccount.currency.family]; if (!f) return []; return await f(arg); } //# sourceMappingURL=deviceTransactionConfig.js.map