fix(wallet-service): 添加 WalletAccount 类型导入
This commit is contained in:
parent
726e3d0fcf
commit
f7e2f7f6f2
|
|
@ -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<void> {
|
||||
const targetId = allocation.targetId;
|
||||
|
||||
let wallet: Wallet | null;
|
||||
let wallet: WalletAccount | null;
|
||||
|
||||
// 判断 targetId 是用户账户还是区域账户
|
||||
if (targetId.startsWith('D')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue