trim top block hash

This commit is contained in:
fuwa
2019-11-28 02:50:46 +08:00
parent 280d988e94
commit 7626fa33f4
+1 -1
View File
@@ -97,7 +97,7 @@ Future<Map<String, dynamic>> getInfoSimple() async {
(
(k, v) {
if (k == 'top_block_hash') {
return MapEntry(k, v.substring(0, config.hashLength) + '...');
return MapEntry(k, trimHash(v));
} else {
return MapEntry(k, v);
}