From 17425349942ad8a9026e6b644ccc0cc65634f2c5 Mon Sep 17 00:00:00 2001 From: fosse Date: Tue, 15 Aug 2023 12:10:55 -0400 Subject: [PATCH] fixes after merge main --- cw_core/lib/hive_type_ids.dart | 1 + cw_core/lib/wallet_info.dart | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cw_core/lib/hive_type_ids.dart b/cw_core/lib/hive_type_ids.dart index 0961182bc..f6c70f042 100644 --- a/cw_core/lib/hive_type_ids.dart +++ b/cw_core/lib/hive_type_ids.dart @@ -9,5 +9,6 @@ const EXCHANGE_TEMPLATE_TYPE_ID = 7; const ORDER_TYPE_ID = 8; const UNSPENT_COINS_INFO_TYPE_ID = 9; const ANONPAY_INVOICE_INFO_TYPE_ID = 10; +const DERIVATION_TYPE_TYPE_ID = 15; const ERC20_TOKEN_TYPE_ID = 12; diff --git a/cw_core/lib/wallet_info.dart b/cw_core/lib/wallet_info.dart index 7dc4e0669..5662c41e3 100644 --- a/cw_core/lib/wallet_info.dart +++ b/cw_core/lib/wallet_info.dart @@ -5,9 +5,7 @@ import 'package:hive/hive.dart'; part 'wallet_info.g.dart'; - -const derivationTypeTypeId = 15; -@HiveType(typeId: derivationTypeTypeId) +@HiveType(typeId: DERIVATION_TYPE_TYPE_ID) enum DerivationType { @HiveField(0) unknown,