diff --git a/backend/services/wallet-service/src/application/services/wallet-application.service.ts b/backend/services/wallet-service/src/application/services/wallet-application.service.ts index 9e2b8354..d846c40e 100644 --- a/backend/services/wallet-service/src/application/services/wallet-application.service.ts +++ b/backend/services/wallet-service/src/application/services/wallet-application.service.ts @@ -8,7 +8,7 @@ import { IPendingRewardRepository, PENDING_REWARD_REPOSITORY, } from '@/domain/repositories'; import { PrismaService } from '@/infrastructure/persistence/prisma/prisma.service'; -import { LedgerEntry, DepositOrder, SettlementOrder, WithdrawalOrder, PendingReward, PendingRewardStatus } from '@/domain/aggregates'; +import { LedgerEntry, DepositOrder, SettlementOrder, WithdrawalOrder, PendingReward, PendingRewardStatus, WalletAccount } from '@/domain/aggregates'; import { UserId, Money, Hashpower, LedgerEntryType, AssetType, ChainType, SettleCurrency, } from '@/domain/value-objects'; @@ -1134,7 +1134,7 @@ export class WalletApplicationService { ): Promise { const targetId = allocation.targetId; - let wallet: Wallet | null; + let wallet: WalletAccount | null; // 判断 targetId 是用户账户还是区域账户 if (targetId.startsWith('D')) {