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,