Update hive types: UnspentCoinsInfo, Template, ExchangeTemplate. (#583)

This commit is contained in:
mkyq
2022-11-01 17:43:39 -04:00
committed by GitHub
parent 03d6701bb7
commit b182c26ff2
6 changed files with 76 additions and 46 deletions
+6 -2
View File
@@ -9,7 +9,7 @@ class UnspentCoinsInfo extends HiveObject {
required this.hash,
required this.isFrozen,
required this.isSending,
required this.note});
required this.noteRaw});
static const typeId = 9;
static const boxName = 'Unspent';
@@ -28,5 +28,9 @@ class UnspentCoinsInfo extends HiveObject {
bool isSending;
@HiveField(4)
String note;
String? noteRaw;
String get note => noteRaw ?? '';
set note(String value) => noteRaw = value;
}