diff --git a/client/src/ui/components/resources/realm-transfer.tsx b/client/src/ui/components/resources/realm-transfer.tsx index 4560f3418..038c28805 100644 --- a/client/src/ui/components/resources/realm-transfer.tsx +++ b/client/src/ui/components/resources/realm-transfer.tsx @@ -9,7 +9,6 @@ import { calculateDonkeysNeeded, currencyFormat, getTotalResourceWeight, multipl import { ResourcesIds, findResourceById } from "@bibliothecadao/eternum"; import { Dispatch, SetStateAction, memo, useCallback, useEffect, useMemo, useState } from "react"; -import { configManager } from "@/dojo/setup"; import { ID } from "@bibliothecadao/eternum"; import { ArrowLeftIcon, ArrowRightIcon } from "lucide-react"; import { num } from "starknet"; @@ -51,7 +50,7 @@ export const RealmTransfer = memo( const resources = calls.map((call) => { return { resourceId: Number(call.resources[0]), - amount: Number(call.resources[1]) * configManager.getResourceMultiplier(), + amount: Number(call.resources[1]), }; }); const totalWeight = getTotalResourceWeight(resources); @@ -65,7 +64,7 @@ export const RealmTransfer = memo( const cleanedCalls = calls.map(({ sender_entity_id, recipient_entity_id, resources }) => ({ sender_entity_id, recipient_entity_id, - resources, + resources: [resources[0], BigInt(resources[1]) * BigInt(1000)], })); send_resources_multiple({